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>
Thu, 2 Apr 2020 15:20:34 +0000 (17:20 +0200)
commit0807f59465b3c3424eebf2488c8cc7b45161e2a5
treeb2bcccc079011605c9bad3df42c392f6deead6f6
parentcc24d74e50d21050fa9e8dcee2ef6460dca0d798
vti[6]: fix packet tx through bpf_redirect() in XinY cases

commit f1ed10264ed6b66b9cd5e8461cffce69be482356 upstream.

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

Fixes: 95224166a903 ("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