]> git.baikalelectronics.ru Git - kernel.git/commit
ipip: Properly mark ipip GRO packets as encapsulated.
authorJesse Gross <jesse@kernel.org>
Sat, 19 Mar 2016 16:32:00 +0000 (09:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Mar 2016 20:33:39 +0000 (16:33 -0400)
commitc3563129b618c14e7cbdae865550d4dbf2e48dd3
treec97ea432d8acb82dd3261daea142aee6ef076bd0
parent315bc254b3e122d67d2775e04240dbeadc370c9e
ipip: Properly mark ipip GRO packets as encapsulated.

ipip encapsulated packets can be merged together by GRO but the result
does not have the proper GSO type set or even marked as being
encapsulated at all. Later retransmission of these packets will likely
fail if the device does not support ipip offloads. This is similar to
the issue resolved in IPv6 sit in 8f3de0ea
("ipv6: gro: support sit protocol").

Reported-by: Patrick Boutilier <boutilpj@ednet.ns.ca>
Fixes: 85555778 ("ipip: Add gro callbacks to ipip offload")
Tested-by: Patrick Boutilier <boutilpj@ednet.ns.ca>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jesse Gross <jesse@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/af_inet.c