Re: [PATCH net] sctp: use new rhlist interface on sctp transport rhashtable

2016-11-16 Thread David Miller
From: Xin Long Date: Tue, 15 Nov 2016 23:23:11 +0800 > Now sctp transport rhashtable uses hash(lport, dport, daddr) as the key > to hash a node to one chain. If in one host thousands of assocs connect > to one server with the same lport and different laddrs (although it's > not a normal case), al

Re: [PATCH net] sctp: use new rhlist interface on sctp transport rhashtable

2016-11-16 Thread Marcelo Ricardo Leitner
On Tue, Nov 15, 2016 at 11:23:11PM +0800, Xin Long wrote: > Now sctp transport rhashtable uses hash(lport, dport, daddr) as the key > to hash a node to one chain. If in one host thousands of assocs connect > to one server with the same lport and different laddrs (although it's > not a normal case),

Re: [PATCH net] sctp: use new rhlist interface on sctp transport rhashtable

2016-11-16 Thread Neil Horman
On Wed, Nov 16, 2016 at 09:34:52PM +0800, Xin Long wrote: > On Wed, Nov 16, 2016 at 2:04 AM, Neil Horman wrote: > > On Tue, Nov 15, 2016 at 11:23:11PM +0800, Xin Long wrote: > >> Now sctp transport rhashtable uses hash(lport, dport, daddr) as the key > >> to hash a node to one chain. If in one hos

Re: [PATCH net] sctp: use new rhlist interface on sctp transport rhashtable

2016-11-16 Thread Xin Long
On Wed, Nov 16, 2016 at 2:04 AM, Neil Horman wrote: > On Tue, Nov 15, 2016 at 11:23:11PM +0800, Xin Long wrote: >> Now sctp transport rhashtable uses hash(lport, dport, daddr) as the key >> to hash a node to one chain. If in one host thousands of assocs connect >> to one server with the same lport

Re: [PATCH net] sctp: use new rhlist interface on sctp transport rhashtable

2016-11-15 Thread Neil Horman
On Tue, Nov 15, 2016 at 11:23:11PM +0800, Xin Long wrote: > Now sctp transport rhashtable uses hash(lport, dport, daddr) as the key > to hash a node to one chain. If in one host thousands of assocs connect > to one server with the same lport and different laddrs (although it's > not a normal case),

[PATCH net] sctp: use new rhlist interface on sctp transport rhashtable

2016-11-15 Thread Xin Long
Now sctp transport rhashtable uses hash(lport, dport, daddr) as the key to hash a node to one chain. If in one host thousands of assocs connect to one server with the same lport and different laddrs (although it's not a normal case), all the transports would be hashed into the same chain. It may c