diff options
author | David Ahern <dsahern@gmail.com> | 2018-05-30 12:24:17 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-05-30 14:17:18 -0700 |
commit | bcece5dc40b9e00d0a9a91fc0acc9a825c23362b (patch) | |
tree | cbcc2af28053ff6791db8086ce316de7c7dc971a /tools/testing | |
parent | 71b2c87df3ac37f5f83e166db136b0c1d065a781 (diff) | |
download | linux-bcece5dc40b9e00d0a9a91fc0acc9a825c23362b.tar.gz linux-bcece5dc40b9e00d0a9a91fc0acc9a825c23362b.tar.bz2 linux-bcece5dc40b9e00d0a9a91fc0acc9a825c23362b.zip |
bpf: Change bpf_fib_lookup to return -EAFNOSUPPORT for unsupported address families
Update bpf_fib_lookup to return -EAFNOSUPPORT for unsupported address
families. Allows userspace to probe for support as more are added
(e.g., AF_MPLS).
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions