[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170801.160928.518404528105741120.davem@davemloft.net>
Date: Tue, 01 Aug 2017 16:09:28 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: den@...ipeden.com
Cc: netdev@...r.kernel.org, tom@...bertland.com
Subject: Re: [PATCH net 1/2] vxlan: fix remcsum when GRO on and
CHECKSUM_PARTIAL boundary is outer UDP
From: Koichiro Den <den@...ipeden.com>
Date: Tue, 1 Aug 2017 01:05:20 +0900
> In the case that GRO is turned on and the original received packet is
> CHECKSUM_PARTIAL, if the outer UDP header is exactly at the last
> csum-unnecessary point, which for instance could occur if the packet
> comes from another Linux guest on the same Linux host, we have to do
> either remcsum_adjust or set up CHECKSUM_PARTIAL again with its
> csum_start properly reset considering RCO.
>
> However, since b7fe10e5ebac("gro: Fix remcsum offload to deal with frags
> in GRO") that barrier in such case could be skipped if GRO turned on,
> hence we pass over it and the inner L4 validation mistakenly reckons
> it as a bad csum.
>
> This patch makes remcsum_offload being reset at the same time of GRO
> remcsum cleanup, so as to make it work in such case as before.
>
> Fixes: b7fe10e5ebac ("gro: Fix remcsum offload to deal with frags in GRO")
> Signed-off-by: Koichiro Den <den@...ipeden.com>
Applied.
Powered by blists - more mailing lists