]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Nov 2014 21:11:05 +0000 (16:11 -0500)
commit3bfd949b062528defdd427482d6886f675ee3f0b
treec9670d927c530c14716727680d787284b3c60ead
parent97ec43a7b9d56815168d4a3245280c856ea612b8
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: 3d8fd70921d8 ("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