diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2006-02-02 16:57:31 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-02-02 16:57:31 -0800 |
commit | 27852c26baab8b95fc9a2b3e8a18770ecd553f10 (patch) | |
tree | f07d3c696598ce6e7181ee30344bce899971e062 /net/sctp/output.c | |
parent | 4641e7a334adf6856300a98e7296dfc886c446af (diff) | |
download | linux-27852c26baab8b95fc9a2b3e8a18770ecd553f10.tar.bz2 |
[SCTP]: Fix 'fast retransmit' to send a TSN only once.
SCTP used to "fast retransmit" a TSN every time we hit the number
of missing reports for the TSN. However the Implementers Guide
specifies that we should only "fast retransmit" a given TSN once.
Subsequent retransmits should be timeouts only. Also change the
number of missing reports to 3 as per the latest IG(similar to TCP).
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/output.c')
-rw-r--r-- | net/sctp/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/output.c b/net/sctp/output.c index a40991ef72c9..437cba7260a4 100644 --- a/net/sctp/output.c +++ b/net/sctp/output.c @@ -608,7 +608,7 @@ static sctp_xmit_t sctp_packet_append_data(struct sctp_packet *packet, * When a Fast Retransmit is being performed the sender SHOULD * ignore the value of cwnd and SHOULD NOT delay retransmission. */ - if (!chunk->fast_retransmit) + if (chunk->fast_retransmit <= 0) if (transport->flight_size >= transport->cwnd) { retval = SCTP_XMIT_RWND_FULL; goto finish; |