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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Nov 2014 21:11:05 +0000 (16:11 -0500)
commitbe6572fdb1bfbe23b2624d477de50af50b02f5d6
treec9670d927c530c14716727680d787284b3c60ead
parent20ea60ca9952bd19d4b0d74719daba305aef5178
ipv6: gre: fix wrong skb->protocol in WCCP

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>
net/ipv6/ip6_gre.c