aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/filter.h
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2016-09-09 02:45:30 +0200
committerDavid S. Miller <davem@davemloft.net>2016-09-09 19:36:04 -0700
commit374fb54eeaaa6b2cb82bca73a11273687bb2a96a (patch)
tree3521b6faa6bf34b90ad0c4b8b733a018e858c119 /include/linux/filter.h
parentbpf: add BPF_SIZEOF and BPF_FIELD_SIZEOF macros (diff)
downloadwireguard-linux-374fb54eeaaa6b2cb82bca73a11273687bb2a96a.tar.xz
wireguard-linux-374fb54eeaaa6b2cb82bca73a11273687bb2a96a.zip
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>
Diffstat (limited to 'include/linux/filter.h')
0 files changed, 0 insertions, 0 deletions