[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131211.164716.1397098528848980750.davem@davemloft.net>
Date: Wed, 11 Dec 2013 16:47:16 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: paul.durrant@...rix.com
Cc: xen-devel@...ts.xen.org, netdev@...r.kernel.org,
wei.liu2@...rix.com, ian.campbell@...rix.com,
david.vrabel@...rix.com
Subject: Re: [PATCH net] xen-netback: make sure skb linear area covers
checksum field
From: Paul Durrant <paul.durrant@...rix.com>
Date: Wed, 11 Dec 2013 16:37:40 +0000
> skb_partial_csum_set requires that the linear area of the skb covers the
> checksum field. The checksum setup code in netback was only doing that
> pullup in the case when the pseudo header checksum was being recalculated
> though. This patch makes that pullup unconditional. (I pullup the whole
> transport header just for simplicity; the requirement is only for the check
> field but in the case of UDP this is the last field in the header and in the
> case of TCP it's the last but one).
>
> The lack of pullup manifested as failures running Microsoft HCK network
> tests on a pair of Windows 8 VMs and it has been verified that this patch
> fixes the problem.
>
> Signed-off-by: Paul Durrant <paul.durrant@...rix.com>
Applied, thank you.
--
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