netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] bpf: Fix bpf_redirect to an ipip/ip6tnl dev
@ 2016-11-09 23:36 Martin KaFai Lau
  2016-11-09 23:36 ` [PATCH net 1/2] " Martin KaFai Lau
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Martin KaFai Lau @ 2016-11-09 23:36 UTC (permalink / raw)
  To: netdev; +Cc: Alexei Starovoitov, Daniel Borkmann, Kernel Team

Hi,

This patch set fixes a bug in bpf_redirect(dev, flags) when dev is an
ipip/ip6tnl.  The current problem is IP-EthHdr-IP is sent out instead of
IP-IP.

Patch 1 adds a dev->type test similar to dev_is_mac_header_xmit()
in act_mirred.c which is only available in net-next.  We can consider to
refactor it once this patch is pulled into net-next from net.

Thanks,
-- Martin

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-01-16  1:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-09 23:36 [PATCH net 0/2] bpf: Fix bpf_redirect to an ipip/ip6tnl dev Martin KaFai Lau
2016-11-09 23:36 ` [PATCH net 1/2] " Martin KaFai Lau
2019-01-10 20:41   ` Willem de Bruijn
2019-01-10 22:22     ` Daniel Borkmann
2019-01-10 22:44       ` Willem de Bruijn
2019-01-16  1:28         ` Willem de Bruijn
2016-11-09 23:36 ` [PATCH net 2/2] bpf: Add test for bpf_redirect to ipip/ip6tnl Martin KaFai Lau
2016-11-13  4:39 ` [PATCH net 0/2] bpf: Fix bpf_redirect to an ipip/ip6tnl dev David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).