[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1478734594-337666-1-git-send-email-kafai@fb.com>
Date: Wed, 9 Nov 2016 15:36:32 -0800
From: Martin KaFai Lau <kafai@...com>
To: <netdev@...r.kernel.org>
CC: Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>,
Kernel Team <kernel-team@...com>
Subject: [PATCH net 0/2] bpf: Fix bpf_redirect to an ipip/ip6tnl dev
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
Powered by blists - more mailing lists