diff options
Diffstat (limited to 'net/sctp/transport.c')
-rw-r--r-- | net/sctp/transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/transport.c b/net/sctp/transport.c index c4699f5c409d..4d8c2ab864fc 100644 --- a/net/sctp/transport.c +++ b/net/sctp/transport.c | |||
@@ -538,7 +538,7 @@ void sctp_transport_reset(struct sctp_transport *t) | |||
538 | * (see Section 6.2.1) | 538 | * (see Section 6.2.1) |
539 | */ | 539 | */ |
540 | t->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380)); | 540 | t->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380)); |
541 | t->ssthresh = SCTP_DEFAULT_MAXWINDOW; | 541 | t->ssthresh = asoc->peer.i.a_rwnd; |
542 | t->rto = asoc->rto_initial; | 542 | t->rto = asoc->rto_initial; |
543 | t->rtt = 0; | 543 | t->rtt = 0; |
544 | t->srtt = 0; | 544 | t->srtt = 0; |