commit | bcece5dc40b9e00d0a9a91fc0acc9a825c23362b | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Wed May 30 12:24:17 2018 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Wed May 30 14:17:18 2018 -0700 |
tree | cbcc2af28053ff6791db8086ce316de7c7dc971a | |
parent | 71b2c87df3ac37f5f83e166db136b0c1d065a781 [diff] |
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>