Re: [PATCH net] sctp: fix the issue that the cookie-ack with auth can't get processed

2018-05-02 Thread David Miller
From: Xin Long Date: Wed, 2 May 2018 13:45:12 +0800 > When auth is enabled for cookie-ack chunk, in sctp_inq_pop, sctp > processes auth chunk first, then continues to the next chunk in > this packet if chunk_end + chunk_hdr size < skb_tail_pointer(). > Otherwise, it will go to the next packet or

Re: [PATCH net] sctp: fix the issue that the cookie-ack with auth can't get processed

2018-05-02 Thread Marcelo Ricardo Leitner
On Wed, May 02, 2018 at 01:45:12PM +0800, Xin Long wrote: > When auth is enabled for cookie-ack chunk, in sctp_inq_pop, sctp > processes auth chunk first, then continues to the next chunk in > this packet if chunk_end + chunk_hdr size < skb_tail_pointer(). > Otherwise, it will go to the next packet

Re: [PATCH net] sctp: fix the issue that the cookie-ack with auth can't get processed

2018-05-02 Thread Neil Horman
On Wed, May 02, 2018 at 01:45:12PM +0800, Xin Long wrote: > When auth is enabled for cookie-ack chunk, in sctp_inq_pop, sctp > processes auth chunk first, then continues to the next chunk in > this packet if chunk_end + chunk_hdr size < skb_tail_pointer(). > Otherwise, it will go to the next packet

[PATCH net] sctp: fix the issue that the cookie-ack with auth can't get processed

2018-05-01 Thread Xin Long
When auth is enabled for cookie-ack chunk, in sctp_inq_pop, sctp processes auth chunk first, then continues to the next chunk in this packet if chunk_end + chunk_hdr size < skb_tail_pointer(). Otherwise, it will go to the next packet or discard this chunk. However, it missed the fact that cookie-a