From: Herbert Xu Date: Tue, 20 Sep 2005 01:18:38 +0000 (-0700) Subject: [TCP]: Handle SACK'd packets properly in tcp_fragment(). X-Git-Tag: v2.6.14-rc2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e14c3caf605dfd29bd1aac3097e39db94afc9f07;p=pandora-kernel.git [TCP]: Handle SACK'd packets properly in tcp_fragment(). The problem is that we're now calling tcp_fragment() in a context where the packets might be marked as SACKED_ACKED or SACKED_RETRANS. This was not possible before as you never retransmitted packets that are so marked. Because of this, we need to adjust sacked_out and retrans_out in tcp_fragment(). This is exactly what the following patch does. We also need to preserve the SACKED_ACKED/SACKED_RETRANS marking if they exist. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed