summaryrefslogtreecommitdiffstats
path: root/include/net/devlink.h
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2017-08-24 03:20:11 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-24 07:43:40 +0200
commita5e2da6e9787187ff104c34aa048419703c1f9cb (patch)
tree57c9516ecbf16f502b3128e4c131cb3f2b425c46 /include/net/devlink.h
parentbpf, doc: Add arm32 as arch supporting eBPF JIT (diff)
downloadlinux-a5e2da6e9787187ff104c34aa048419703c1f9cb.tar.xz
linux-a5e2da6e9787187ff104c34aa048419703c1f9cb.zip
bpf: netdev is never null in __dev_map_flush
No need to test for it in fast-path, every dev in bpf_dtab_netdev is guaranteed to be non-NULL, otherwise dev_map_update_elem() will fail in the first place. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Acked-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/devlink.h')
0 files changed, 0 insertions, 0 deletions