]> 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)
committerJiri Slaby <jslaby@suse.cz>
Tue, 6 Jan 2015 12:59:51 +0000 (13:59 +0100)
commit72002f1f248c28d1715d10454190e209d5a20fe1
tree4875093d1df51bf46110fbe63c773af7a94631a6
parent490d31e7a5d3074712325919ca8c2daecb69e382
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: Jiri Slaby <jslaby@suse.cz>
net/ipv6/ip6_gre.c