Re: [PATCH net] sctp: use the old asoc when making the cookie-ack chunk in dupcook_d

2018-05-02 Thread David Miller
From: Xin Long Date: Wed, 2 May 2018 13:39:46 +0800 > When processing a duplicate cookie-echo chunk, for case 'D', sctp will > not process the param from this chunk. It means old asoc has nothing > to be updated, and the new temp asoc doesn't have the complete info. > > So there's no reason to

Re: [PATCH net] sctp: use the old asoc when making the cookie-ack chunk in dupcook_d

2018-05-02 Thread Marcelo Ricardo Leitner
On Wed, May 02, 2018 at 01:39:46PM +0800, Xin Long wrote: > When processing a duplicate cookie-echo chunk, for case 'D', sctp will > not process the param from this chunk. It means old asoc has nothing > to be updated, and the new temp asoc doesn't have the complete info. > > So there's no reason t

Re: [PATCH net] sctp: use the old asoc when making the cookie-ack chunk in dupcook_d

2018-05-02 Thread Neil Horman
On Wed, May 02, 2018 at 01:39:46PM +0800, Xin Long wrote: > When processing a duplicate cookie-echo chunk, for case 'D', sctp will > not process the param from this chunk. It means old asoc has nothing > to be updated, and the new temp asoc doesn't have the complete info. > > So there's no reason

[PATCH net] sctp: use the old asoc when making the cookie-ack chunk in dupcook_d

2018-05-01 Thread Xin Long
When processing a duplicate cookie-echo chunk, for case 'D', sctp will not process the param from this chunk. It means old asoc has nothing to be updated, and the new temp asoc doesn't have the complete info. So there's no reason to use the new asoc when creating the cookie-ack chunk. Otherwise, l