]> git.baikalelectronics.ru Git - kernel.git/commit
gre: Set inner mac header in gro complete
authorTom Herbert <therbert@google.com>
Sat, 29 Nov 2014 17:59:45 +0000 (09:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Dec 2014 05:18:34 +0000 (21:18 -0800)
commit2a1096683a582ba4f56116acc97476f9c40ba949
tree5491b8aca2063a2602694754d825d8f48871a9fa
parent4087ac6567a0f4ec97336e7ceaa1b45fcf3e9721
gre: Set inner mac header in gro complete

Set the inner mac header to point to the GRE payload when
doing GRO. This is needed if we proceed to send the packet
through GRE GSO which now uses the inner mac header instead
of inner network header to determine the length of encapsulation
headers.

Fixes: 1d5c1990430d ("gre: Use inner mac length when computing tunnel length")
Reported-by: Wolfgang Walter <linux@stwm.de>
Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/gre_offload.c