diff options
author | David Ahern <dsahern@gmail.com> | 2018-06-03 18:15:19 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-06-04 04:29:07 +0300 |
commit | bd3a08aaa9a383ffbbd5b788b797ae6e64eaa7a1 (patch) | |
tree | 08299ba501c806105ed4568f4e3094b5040d6d3e /include/uapi | |
parent | 432bdb581e410ad3cea8f04e9323397f17501e3e (diff) | |
download | linux-bd3a08aaa9a383ffbbd5b788b797ae6e64eaa7a1.tar.xz |
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>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/bpf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h index 18712b0dbfe7..eeb6237be5c2 100644 --- a/include/uapi/linux/bpf.h +++ b/include/uapi/linux/bpf.h @@ -2629,7 +2629,7 @@ struct bpf_fib_lookup { union { /* inputs to lookup */ __u8 tos; /* AF_INET */ - __be32 flowlabel; /* AF_INET6 */ + __be32 flowinfo; /* AF_INET6, flow_label + priority */ /* output: metric of fib result (IPv4/IPv6 only) */ __u32 rt_metric; |