diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-06-28 20:03:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-30 04:41:39 +0200 |
commit | 8e5b9dda99cc86bdbd822935fcc37c5808e271b3 (patch) | |
tree | 216ce989fdac1d8ecd33698e8fae46fe0d4bb616 /net/ipv4/tcp.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/low... (diff) | |
download | linux-8e5b9dda99cc86bdbd822935fcc37c5808e271b3.tar.xz linux-8e5b9dda99cc86bdbd822935fcc37c5808e271b3.zip |
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 <johannes@sipsolutions.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions