[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090629.194316.30754487.davem@davemloft.net>
Date: Mon, 29 Jun 2009 19:43:16 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: johannes@...solutions.net, netdev@...r.kernel.org
Subject: Re: forcedeth skb_gso_segment warning
From: Herbert Xu <herbert@...dor.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@...dor.apana.org.au>
Applied.
--
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