From: Ilpo Järvinen Date: Wed, 1 Apr 2009 23:18:20 +0000 (+0000) Subject: tcp: miscounts due to tcp_fragment pcount reset X-Git-Tag: v2.6.30-rc1~246^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9eb9362e569062e2f841b7a023e5fcde10ed63b4;p=pandora-kernel.git tcp: miscounts due to tcp_fragment pcount reset It seems that trivial reset of pcount to one was not sufficient in tcp_retransmit_skb. Multiple counters experience a positive miscount when skb's pcount gets lowered without the necessary adjustments (depending on skb's sacked bits which exactly), at worst a packets_out miscount can crash at RTO if the write queue is empty! Triggering this requires mss change, so bidir tcp or mtu probe or like. Signed-off-by: Ilpo Järvinen Reported-by: Markus Trippelsdorf Tested-by: Uwe Bugla Signed-off-by: David S. Miller --- Reading git-diff-tree failed