]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: flowlabel in bpf_fib_lookup should be flowinfo
authorDavid Ahern <dsahern@gmail.com>
Sun, 3 Jun 2018 15:15:19 +0000 (08:15 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 4 Jun 2018 01:29:07 +0000 (18:29 -0700)
commiteb144ee4745939dde84c0ae60b140a18ca2ae2c2
tree08299ba501c806105ed4568f4e3094b5040d6d3e
parenta1ed349146fb1b3c14fa47e65ab429f9c3296f38
bpf: flowlabel in bpf_fib_lookup should be flowinfo

As Michal noted the flow struct takes both the flow label and priority.
Update the bpf_fib_lookup API to note that it is flowinfo and not just
the flow label.

Cc: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/uapi/linux/bpf.h
net/core/filter.c
samples/bpf/xdp_fwd_kern.c