summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-12-15 09:24:13 +0200
committerLuis Henriques <luis.henriques@canonical.com>2015-01-19 11:07:18 +0000
commit9fc3d4163ffc6085fa885d5e6a7bbd557a97f0e7 (patch)
tree2eb2a7aceae696a98f048dcbc8c86a773132e27f /include/uapi
parent79d914f5fe330ffbeb578c03560bb7a80252832d (diff)
gre: fix the inner mac header in nbma tunnel xmit path
commit 8a0033a947403569caeca45fa5e6f7ba60d51974 upstream. The NBMA GRE tunnels temporarily push GRE header that contain the per-packet NBMA destination on the skb via header ops early in xmit path. It is the later pulled before the real GRE header is constructed. The inner mac was thus set differently in nbma case: the GRE header has been pushed by neighbor layer, and mac header points to beginning of the temporary gre header (set by dev_queue_xmit). Now that the offloads expect mac header to point to the gre payload, fix the xmit patch to: - pull first the temporary gre header away - and reset mac header to point to gre payload This fixes tso to work again with nbma tunnels. Fixes: 14051f0452a2 ("gre: Use inner mac length when computing tunnel length") Signed-off-by: Timo Teräs <timo.teras@iki.fi> Cc: Tom Herbert <therbert@google.com> Cc: Alexander Duyck <alexander.h.duyck@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions