]> Git Repo - linux.git/commit
[SCTP]: Reset some transport and association variables on restart
authorVlad Yasevich <[email protected]>
Tue, 20 Mar 2007 00:02:30 +0000 (17:02 -0700)
committerDavid S. Miller <[email protected]>
Tue, 20 Mar 2007 07:09:45 +0000 (00:09 -0700)
commit749bf9215ed1a8b6edb4bb03693c2b62c6b9c2a4
treed5656c441181fddef41392a4aa07f54e56487312
parentfb78525ae1b75bfac1da600ceb008aef4d293649
[SCTP]: Reset some transport and association variables on restart

If the association has been restarted, we need to reset the
transport congestion variables as well as accumulated error
counts and CACC variables.  If we do not, the association
will use the wrong values and may terminate prematurely.

This was found with a scenario where the peer restarted
the association when lksctp was in the last HB timeout for
its association.  The restart happened, but the error counts
have not been reset and when the timeout occurred, a newly
restarted association was terminated due to excessive
retransmits.

Signed-off-by: Vlad Yasevich <[email protected]>
Signed-off-by: Sridhar Samudrala <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/net/sctp/structs.h
net/sctp/associola.c
net/sctp/transport.c
This page took 0.053227 seconds and 4 git commands to generate.