Re: [PATCH net 3/5] sctp: only allow the asoc reset when the asoc outq is empty

2017-11-27 Thread Marcelo Ricardo Leitner
On Sat, Nov 25, 2017 at 09:05:34PM +0800, Xin Long wrote: > As it says in rfc6525#section5.1.4, before sending the request, > >C2: The sender has either no outstanding TSNs or considers all > outstanding TSNs abandoned. > > Prior to this patch, it tried to consider all outstanding TS

Re: [PATCH net 3/5] sctp: only allow the asoc reset when the asoc outq is empty

2017-11-27 Thread Xin Long
On Mon, Nov 27, 2017 at 6:06 PM, David Laight wrote: > From: Xin Long >> Sent: 25 November 2017 13:06 >> >> As it says in rfc6525#section5.1.4, before sending the request, >> >>C2: The sender has either no outstanding TSNs or considers all >> outstanding TSNs abandoned. >> >> Prior to

RE: [PATCH net 3/5] sctp: only allow the asoc reset when the asoc outq is empty

2017-11-27 Thread David Laight
From: Xin Long > Sent: 25 November 2017 13:06 > > As it says in rfc6525#section5.1.4, before sending the request, > >C2: The sender has either no outstanding TSNs or considers all > outstanding TSNs abandoned. > > Prior to this patch, it tried to consider all outstanding TSNs abando

[PATCH net 3/5] sctp: only allow the asoc reset when the asoc outq is empty

2017-11-25 Thread Xin Long
As it says in rfc6525#section5.1.4, before sending the request, C2: The sender has either no outstanding TSNs or considers all outstanding TSNs abandoned. Prior to this patch, it tried to consider all outstanding TSNs abandoned by dropping all chunks in all outqs with sctp_outq_free (