]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: stop pending timers and purge queues when peer restart asoc
authorWei Yongjun <yjwei@cn.fujitsu.com>
Sun, 29 May 2011 23:23:36 +0000 (23:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 May 2011 22:29:17 +0000 (15:29 -0700)
commita2b9f0d9df02aed67cfeb64926554ff4dbb8fe1c
tree429060980f87287a3df70d8d286b73d6f1985cc8
parentb5563579184415f5e4f3f0259410f9e32633df6a
sctp: stop pending timers and purge queues when peer restart asoc

If the peer restart the asoc, we should not only fail any unsent/unacked
data, but also stop the T3-rtx, SACK, T4-rto timers, and teardown ASCONF
queues.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/command.h
include/net/sctp/structs.h
net/sctp/associola.c
net/sctp/sm_sideeffect.c
net/sctp/sm_statefuns.c