Bugfix: Use formula from section 7.2.3 of RFC 4960. Reported by Martin Becke.
Approved by: rrs (mentor) MFC after: 3 days
This commit is contained in:
parent
613628c4d8
commit
d18f7e0a98
@ -348,7 +348,7 @@ sctp_cwnd_update_after_timeout(struct sctp_tcb *stcb, struct sctp_nets *net)
|
||||
{
|
||||
int old_cwnd = net->cwnd;
|
||||
|
||||
net->ssthresh = max(net->cwnd / 2, 2 * net->mtu);
|
||||
net->ssthresh = max(net->cwnd / 2, 4 * net->mtu);
|
||||
net->cwnd = net->mtu;
|
||||
net->partial_bytes_acked = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user