]> 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)
commitff103366dcdead6ff2b8d55bda8038e0c9799c0d
tree429060980f87287a3df70d8d286b73d6f1985cc8
parent825c5917128279566ef2676e013acc2c9f9e0c19
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