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)
commitbd3a08aaa9a383ffbbd5b788b797ae6e64eaa7a1
tree08299ba501c806105ed4568f4e3094b5040d6d3e
parent432bdb581e410ad3cea8f04e9323397f17501e3e
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