summaryrefslogtreecommitdiff
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2016-09-09 02:45:30 +0200
committerMichael Bestas <mkbestas@lineageos.org>2022-04-19 00:50:38 +0300
commit51cc524947066bd33d2df6e1b776b1a1b7f8d5b9 (patch)
treef6957437a722c0253ca04bf154b90e9a7c4bf4f4 /net/core/dev.c
parent4fd9231d11ea797ecb039240b66dc8f9ba0c4790 (diff)
bpf: add own ctx rewriter on ifindex for clsact progs
When fetching ifindex, we don't need to test dev for being NULL since we're always guaranteed to have a valid dev for clsact programs. Thus, avoid this test in fast path. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions