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

2018-05-07 Thread David Miller
From: Xin Long Date: Sat, 5 May 2018 14:59:47 +0800 > 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

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

2018-05-07 Thread Neil Horman
On Sat, May 05, 2018 at 02:59:47PM +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

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

2018-05-05 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