Re: forcedeth skb_gso_segment warning
From: David Miller <davem@davemloft.net>
Date: 2009-06-30 02:43:10
From: David Miller <davem@davemloft.net>
Date: 2009-06-30 02:43:10
From: Herbert Xu <herbert@gondor.apana.org.au> Date: Mon, 29 Jun 2009 12:03:30 +0800
tcp: Stop non-TSO packets morphing into TSO If a socket starts out on a non-TSO route, and then switches to a TSO route, then the tail on the tx queue can morph into a TSO packet, causing mischief because the rest of the stack does not expect a partially linear TSO packet. This patch fixes this by ensuring that skb->ip_summed is set to CHECKSUM_PARTIAL before declaring a packet as TSO. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Applied.