From: Vlad Yasevich Date: Wed, 24 Oct 2007 19:59:16 +0000 (-0400) Subject: SCTP: Fix difference cases of retransmit. X-Git-Tag: v2.6.24-rc3~145^2~27^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6157d8e03e1e780660a328f7183bcbfa4a93a19;p=pandora-kernel.git SCTP: Fix difference cases of retransmit. Commit d0ce92910bc04e107b2f3f2048f07e94f570035d broke several retransmit cases including fast retransmit. The reason is that we should only delay by rto while doing retranmists as a result of a timeout. Retransmit as a result of path mtu discover, fast retransmit, or other evernts that should trigger immidiate retransmissions got broken. Also, since rto is doubled prior to marking of packets elegable for retransmission, we never marked correct chunks anyway. The fix is provide a reason for a given retransmission so that we can mark chunks appropriately and to save the old rto value to do comparisons against. All regressions tests passed with this code. Spotted by Wei Yongjun Signed-off-by: Vlad Yasevich --- Reading git-diff-tree failed