From: Yuchung Cheng Date: Mon, 7 Feb 2011 12:57:04 +0000 (+0000) Subject: tcp: undo_retrans counter fixes X-Git-Tag: v2.6.38-rc7~47^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c24f691b56107feeba076616982093ee2d3c8fb5;p=pandora-kernel.git tcp: undo_retrans counter fixes Fix a bug that undo_retrans is incorrectly decremented when undo_marker is not set or undo_retrans is already 0. This happens when sender receives more DSACK ACKs than packets retransmitted during the current undo phase. This may also happen when sender receives DSACK after the undo operation is completed or cancelled. Fix another bug that undo_retrans is incorrectly incremented when sender retransmits an skb and tcp_skb_pcount(skb) > 1 (TSO). This case is rare but not impossible. Signed-off-by: Yuchung Cheng Acked-by: Ilpo Järvinen Signed-off-by: David S. Miller --- Reading git-diff-tree failed