Re: [PATCH net] sctp: fix the transports round robin issue when init is retransmitted

2016-03-13 Thread David Miller
From: Xin Long Date: Thu, 10 Mar 2016 15:31:57 +0800 > prior to this patch, at the beginning if we have two paths in one assoc, > they may have the same params other than the last_time_heard, it will try > the paths like this: > > 1st cycle > try trans1 fail. > then trans2 is selected.(cause

Re: [PATCH net] sctp: fix the transports round robin issue when init is retransmitted

2016-03-10 Thread Marcelo Ricardo Leitner
On Thu, Mar 10, 2016 at 03:31:57PM +0800, Xin Long wrote: > prior to this patch, at the beginning if we have two paths in one assoc, > they may have the same params other than the last_time_heard, it will try > the paths like this: > > 1st cycle > try trans1 fail. > then trans2 is selected.(ca

Re: [PATCH net] sctp: fix the transports round robin issue when init is retransmitted

2016-03-10 Thread Daniel Borkmann
On 03/10/2016 08:31 AM, Xin Long wrote: prior to this patch, at the beginning if we have two paths in one assoc, they may have the same params other than the last_time_heard, it will try the paths like this: 1st cycle try trans1 fail. then trans2 is selected.(cause it's last_time_heard is

[PATCH net] sctp: fix the transports round robin issue when init is retransmitted

2016-03-09 Thread Xin Long
prior to this patch, at the beginning if we have two paths in one assoc, they may have the same params other than the last_time_heard, it will try the paths like this: 1st cycle try trans1 fail. then trans2 is selected.(cause it's last_time_heard is after trans1). 2nd cycle: try trans2 fai