[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>
This commit is contained in:
committed by
David S. Miller
parent
4641e7a334
commit
27852c26ba
@ -700,7 +700,7 @@ struct sctp_chunk {
|
||||
__u8 ecn_ce_done; /* Have we processed the ECN CE bit? */
|
||||
__u8 pdiscard; /* Discard the whole packet now? */
|
||||
__u8 tsn_gap_acked; /* Is this chunk acked by a GAP ACK? */
|
||||
__u8 fast_retransmit; /* Is this chunk fast retransmitted? */
|
||||
__s8 fast_retransmit; /* Is this chunk fast retransmitted? */
|
||||
__u8 tsn_missing_report; /* Data chunk missing counter. */
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user