From: Herbert Xu Date: Sun, 28 Jun 2009 18:06:41 +0000 (+0000) Subject: tcp: Do not tack on TSO data to non-TSO packet X-Git-Tag: v2.6.31-rc2~26^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6828b92bd21acd65113dfe0541f19f5df0d9668f;p=pandora-kernel.git tcp: Do not tack on TSO data to non-TSO packet If a socket starts out on a non-TSO route, and then switches to a TSO route, then we will tack on data to the tail of the tx queue even if it started out life as non-TSO. This is suboptimal because all of it will then be copied and checksummed unnecessarily. This patch fixes this by ensuring that skb->ip_summed is set to CHECKSUM_PARTIAL before appending extra data beyond the MSS. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed