Re: [PATCH net 4/5] sctp: avoid flushing unsent queue when doing asoc reset

2017-11-27 Thread Marcelo Ricardo Leitner
On Sat, Nov 25, 2017 at 09:05:35PM +0800, Xin Long wrote: > Now when doing asoc reset, it cleans up sacked and abandoned queues > by calling sctp_outq_free where it also cleans up unsent, retransmit > and transmitted queues. > > It's safe for the sender of response, as these 3 queues are empty at

[PATCH net 4/5] sctp: avoid flushing unsent queue when doing asoc reset

2017-11-25 Thread Xin Long
Now when doing asoc reset, it cleans up sacked and abandoned queues by calling sctp_outq_free where it also cleans up unsent, retransmit and transmitted queues. It's safe for the sender of response, as these 3 queues are empty at that time. But when the receiver of response is doing the reset, the