Skip to content
Commit bcece5dc authored by David Ahern's avatar David Ahern Committed by Alexei Starovoitov
Browse files

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: default avatarDavid Ahern <dsahern@gmail.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 71b2c87d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment