From: David S. Miller Date: Mon, 25 Apr 2005 02:12:33 +0000 (-0700) Subject: [TCP]: skb pcount with MTU discovery X-Git-Tag: v2.6.12-rc4~237 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5ac99a648b8c61d0c7f1c32a8ab7f1dca0123d2;p=pandora-kernel.git [TCP]: skb pcount with MTU discovery The problem is that when doing MTU discovery, the too-large segments in the write queue will be calculated as having a pcount of >1. When tcp_write_xmit() is trying to send, tcp_snd_test() fails the cwnd test when pcount > cwnd. The segments are eventually transmitted one at a time by keepalive, but this can take a long time. This patch checks if TSO is enabled when setting pcount. Signed-off-by: John Heffner Signed-off-by: David S. Miller --- Reading git-diff-tree failed