summaryrefslogtreecommitdiffstats
path: root/samples/bpf/tracex2_user.c
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2016-11-26 01:28:06 +0100
committerDavid S. Miller <davem@davemloft.net>2016-11-28 02:38:47 +0100
commitc491680f8f489926eebfdf2cd006767fc8bdaa49 (patch)
treef177ead97857daa2b63912240f2ef2c88e94085e /samples/bpf/tracex2_user.c
parentbpf: drop useless bpf_fd member from cls/act (diff)
downloadlinux-c491680f8f489926eebfdf2cd006767fc8bdaa49.tar.xz
linux-c491680f8f489926eebfdf2cd006767fc8bdaa49.zip
bpf: reuse dev_is_mac_header_xmit for redirect
Commit dcf800344a91 ("net/sched: act_mirred: Refactor detection whether dev needs xmit at mac header") added dev_is_mac_header_xmit(); since it's also useful elsewhere, move it to if_arp.h and reuse it for BPF. 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 'samples/bpf/tracex2_user.c')
0 files changed, 0 insertions, 0 deletions