]> git.baikalelectronics.ru Git - kernel.git/commit
net-gre-gro: Fix a bug that breaks the forwarding path
authorJerry Chu <hkchu@google.com>
Mon, 14 Jul 2014 22:54:46 +0000 (15:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jul 2014 21:45:26 +0000 (14:45 -0700)
commit5f9cbbe1afde1040e8b282621584aed3e45f6ac6
tree06fb9dd668fe6f670ef5de68af8c2fe881e8029b
parent1c50473a2eaffa3f91b8db6318b91db00239c9b8
net-gre-gro: Fix a bug that breaks the forwarding path

Fixed a bug that was introduced by my GRE-GRO patch
(658e424293aee7dc5a7002ac32abd8ccebc9ad43 net-gre-gro: Add GRE
support to the GRO stack) that breaks the forwarding path
because various GSO related fields were not set. The bug will
cause on the egress path either the GSO code to fail, or a
GRE-TSO capable (NETIF_F_GSO_GRE) NICs to choke. The following
fix has been tested for both cases.

Signed-off-by: H.K. Jerry Chu <hkchu@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
net/ipv4/af_inet.c
net/ipv4/gre_offload.c
net/ipv4/tcp_offload.c
net/ipv6/tcpv6_offload.c