]> git.baikalelectronics.ru Git - kernel.git/commit
ip6_gre: Do not allow segmentation offloads GRE_CSUM is enabled with FOU/GUE
authorAlexander Duyck <aduyck@mirantis.com>
Wed, 18 May 2016 17:44:47 +0000 (10:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 May 2016 23:25:52 +0000 (19:25 -0400)
commit735b654b5a03de291a06c73051633a41636c825d
tree5c66ca79e655ffab486f9c82a73980585996f565
parent4329bd8f8db8ebeb376a8f958ec518bc46af8a3e
ip6_gre: Do not allow segmentation offloads GRE_CSUM is enabled with FOU/GUE

This patch addresses the same issue we had for IPv4 where enabling GRE with
an inner checksum cannot be supported with FOU/GUE due to the fact that
they will jump past the GRE header at it is treated like a tunnel header.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c