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)
commita000c01e60e40e15304ffe48fff051d17a7bea91
tree429060980f87287a3df70d8d286b73d6f1985cc8
parentb10cec8a4e8167075b9e1ff3f05419769e7f381a
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