]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ipv6: gre: fix wrong skb->protocol in WCCP
authorYuri Chislov <yuri.chislov@gmail.com>
Mon, 24 Nov 2014 10:25:15 +0000 (11:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Dec 2014 17:09:42 +0000 (09:09 -0800)
commitc556ebe8c839cdf2f4e03d5daab4f9d0df35d935
tree2cf94883cccc4b4f1170aefc1491b7e87d7b55f6
parent69052167b48fb6878001073cfe44f5b1949538ae
ipv6: gre: fix wrong skb->protocol in WCCP

[ Upstream commit be6572fdb1bfbe23b2624d477de50af50b02f5d6 ]

When using GRE redirection in WCCP, it sets the wrong skb->protocol,
that is, ETH_P_IP instead of ETH_P_IPV6 for the encapuslated traffic.

Fixes: c12b395a4664 ("gre: Support GRE over IPv6")
Cc: Dmitry Kozlov <xeb@mail.ru>
Signed-off-by: Yuri Chislov <yuri.chislov@gmail.com>
Tested-by: Yuri Chislov <yuri.chislov@gmail.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv6/ip6_gre.c