From: Herbert Xu Date: Sun, 28 Jun 2009 18:03:30 +0000 (+0000) Subject: tcp: Stop non-TSO packets morphing into TSO X-Git-Tag: v2.6.31-rc2~26^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e5b9dda99cc86bdbd822935fcc37c5808e271b3;p=pandora-kernel.git 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. Reported-by: Johannes Berg Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed