diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2015-09-23 22:20:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-23 14:25:51 -0700 |
commit | 927ab1d764565aec36ace1d017fa14c1e84f2769 (patch) | |
tree | 46ab37f63488558dce59828a1fb3d5e0fbb96a2f /scripts/basic/bin2c.c | |
parent | 644d0e6569582872e448b1d39b9338d5e4021faa (diff) |
sched, bpf: let stack handle !IFF_UP devs on bpf_clone_redirect
Similarly as already the case in bpf_redirect()/skb_do_redirect()
pair, let the stack deal with devs that are !IFF_UP.
dev_forward_skb() as well as dev_queue_xmit() will free the skb
and increment drop counter internally in such cases, so we can
spare the condition in bpf_clone_redirect().
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/basic/bin2c.c')
0 files changed, 0 insertions, 0 deletions