diff options
| author | David Ahern <dsahern@gmail.com> | 2018-05-30 22:24:17 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2018-05-31 00:17:18 +0300 |
| commit | bcece5dc40b9e00d0a9a91fc0acc9a825c23362b (patch) | |
| tree | cbcc2af28053ff6791db8086ce316de7c7dc971a /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 71b2c87df3ac37f5f83e166db136b0c1d065a781 (diff) | |
| download | linux-bcece5dc40b9e00d0a9a91fc0acc9a825c23362b.tar.xz | |
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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
