OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9f8478
)
sctp: Clear fast_recovery on the transport when T3 timer expires.
author
Vlad Yasevich
<vladislav.yasevich@hp.com>
Fri, 4 Sep 2009 22:20:58 +0000
(18:20 -0400)
committer
Vlad Yasevich
<vladislav.yasevich@hp.com>
Fri, 4 Sep 2009 22:20:58 +0000
(18:20 -0400)
If T3 timer expires, we are retransmitting data due to timeout any
any fast recovery is null and void. We can clear the fast recovery
flag.
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
net/sctp/transport.c
patch
|
blob
|
history
diff --git
a/net/sctp/transport.c
b/net/sctp/transport.c
index
e5dde45
..
c256e48
100644
(file)
--- a/
net/sctp/transport.c
+++ b/
net/sctp/transport.c
@@
-503,6
+503,9
@@
void sctp_transport_lower_cwnd(struct sctp_transport *transport,
transport->ssthresh = max(transport->cwnd/2,
4*transport->asoc->pathmtu);
transport->cwnd = transport->asoc->pathmtu;
+
+ /* T3-rtx also clears fast recovery on the transport */
+ transport->fast_recovery = 0;
break;
case SCTP_LOWER_CWND_FAST_RTX: