]> git.baikalelectronics.ru Git - kernel.git/commit
vti[6]: fix packet tx through bpf_redirect() in XinY cases
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 4 Feb 2020 16:00:27 +0000 (17:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Apr 2020 09:02:05 +0000 (11:02 +0200)
commita67aa9f59b5489151dbe18c9a606121ea75602ae
tree511b769035964201bb624d551a2f6e9607b85195
parent19999da05752e03e55118c4595c156a1569ee7e3
vti[6]: fix packet tx through bpf_redirect() in XinY cases

commit 3240793d605fcfadf11cbb7e9cb63dabc84fa7bb upstream.

I forgot the 4in6/6in4 cases in my previous patch. Let's fix them.

Fixes: 9fe202cc77b5 ("vti[6]: fix packet tx through bpf_redirect()")
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/Kconfig
net/ipv4/ip_vti.c
net/ipv6/ip6_vti.c