Correctly reset ssthresh when restarting association
Subsystems (3)
PATCH 1/1 Correctly reset ssthresh when restarting association
Reset ssthresh to the correct value (peer's a_rwnd) when restarting association.
Signed-off-by Vlad Yasevich <[email protected]>
--- net/sctp/transport.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
net/sctp/transport.c +1 -1
@@ -538,7 +538,7 @@ void sctp_transport_reset(struct sctp_transport *t)* (see Section 6.2.1) */ t->cwnd =min (4 *asoc->pathmtu,max_t (__u32,2 *asoc->pathmtu,4380 )); - t->ssthresh =SCTP_DEFAULT_MAXWINDOW ; + t->ssthresh = asoc->peer.i.a_rwnd; t->rto = asoc->rto_initial; t->rtt =0 ; t->srtt =0 ;
Signature · 1 line
1.5.0.3.438.gc49b2
From: Vlad Yasevich <[email protected]>
Date: Thu, 22 Mar 2007 14:56:19 -0400
Quoted 4 lines
Reset ssthresh to the correct value (peer's
a_rwnd) when restarting association.Signed-off-by Vlad Yasevich <[email protected]>
Applied, thanks Vlad.