[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141215.114632.925120976146731438.davem@davemloft.net>
Date: Mon, 15 Dec 2014 11:46:32 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: timo.teras@....fi
Cc: netdev@...r.kernel.org, therbert@...gle.com,
alexander.h.duyck@...hat.com
Subject: Re: [PATCH net, v2] gre: fix the inner mac header in nbma tunnel
xmit path
From: Timo Teräs <timo.teras@....fi>
Date: Mon, 15 Dec 2014 09:24:13 +0200
> 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@....fi>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists