]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Dec 2014 17:34:27 +0000 (09:34 -0800)
commitc737a52c8742f427b439d71dfb4ce4e4a2ffc5e6
tree79af408c6ac76616c72963302d640cbc2720b53a
parent5ee9f7cf65cd69d61b718eb40a53a9d2e3477827
gre: Set inner mac header in gro complete

[ Upstream commit 6fb2a756739aa507c1fd5b8126f0bfc2f070dc46 ]

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: 14051f0452a2 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/gre_offload.c