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>
This commit is contained in:

committed by
David S. Miller

parent
b10cec8a4e
commit
a000c01e60
@@ -1993,7 +1993,7 @@ void sctp_assoc_clean_asconf_ack_cache(const struct sctp_association *asoc);
|
||||
struct sctp_chunk *sctp_assoc_lookup_asconf_ack(
|
||||
const struct sctp_association *asoc,
|
||||
__be32 serial);
|
||||
|
||||
void sctp_asconf_queue_teardown(struct sctp_association *asoc);
|
||||
|
||||
int sctp_cmp_addr_exact(const union sctp_addr *ss1,
|
||||
const union sctp_addr *ss2);
|
||||
|
Reference in New Issue
Block a user