Re: [PATCH net] sctp: delay the authentication for the duplicated cookie-echo chunk

2018-05-05 Thread Xin Long
On Sat, May 5, 2018 at 6:33 AM, Marcelo Ricardo Leitner wrote: > On Fri, May 04, 2018 at 05:05:10PM +0800, Xin Long wrote: >> Now sctp only delays the authentication for the normal cookie-echo >> chunk by setting chunk->auth_chunk in sctp_endpoint_bh_rcv(). But >> for the duplicated one with auth,

Re: [PATCH net] sctp: delay the authentication for the duplicated cookie-echo chunk

2018-05-04 Thread Marcelo Ricardo Leitner
On Fri, May 04, 2018 at 05:05:10PM +0800, Xin Long wrote: > Now sctp only delays the authentication for the normal cookie-echo > chunk by setting chunk->auth_chunk in sctp_endpoint_bh_rcv(). But > for the duplicated one with auth, in sctp_assoc_bh_rcv(), it does > authentication first based on the

[PATCH net] sctp: delay the authentication for the duplicated cookie-echo chunk

2018-05-04 Thread Xin Long
Now sctp only delays the authentication for the normal cookie-echo chunk by setting chunk->auth_chunk in sctp_endpoint_bh_rcv(). But for the duplicated one with auth, in sctp_assoc_bh_rcv(), it does authentication first based on the old asoc, which will definitely fail due to the different auth inf