From: Ilpo Järvinen Date: Sun, 1 Mar 2009 08:21:36 +0000 (-0800) Subject: tcp: fix retrans_out leaks X-Git-Tag: v2.6.29-rc7~13^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ec06ff57a9badef3b6b019f35efc6b21fc27d03;p=pandora-kernel.git tcp: fix retrans_out leaks There's conflicting assumptions in shifting, the caller assumes that dupsack results in S'ed skbs (or a part of it) for sure but never gave a hint to tcp_sacktag_one when dsack is actually in use. Thus DSACK retrans_out -= pcount was not taken and the counter became out of sync. Remove obstacle from that information flow to get DSACKs accounted in tcp_sacktag_one as expected. Signed-off-by: Ilpo Järvinen Tested-by: Denys Fedoryshchenko Signed-off-by: David S. Miller --- Reading git-diff-tree failed