Re: [Patch nf-next] netfilter: make xt_rateest hash table per net

2018-03-05 Thread Pablo Neira Ayuso
On Thu, Mar 01, 2018 at 08:21:52PM -0800, Eric Dumazet wrote: > On Thu, 2018-03-01 at 18:58 -0800, Cong Wang wrote: > > As suggested by Eric, we need to make the xt_rateest > > hash table and its lock per netns to reduce lock > > contentions. > > > > Cc: Florian Westphal > > Cc:

Re: [Patch nf-next] netfilter: make xt_rateest hash table per net

2018-03-01 Thread Eric Dumazet
On Thu, 2018-03-01 at 18:58 -0800, Cong Wang wrote: > As suggested by Eric, we need to make the xt_rateest > hash table and its lock per netns to reduce lock > contentions. > > Cc: Florian Westphal > Cc: Eric Dumazet > Cc: Pablo Neira Ayuso

[Patch nf-next] netfilter: make xt_rateest hash table per net

2018-03-01 Thread Cong Wang
As suggested by Eric, we need to make the xt_rateest hash table and its lock per netns to reduce lock contentions. Cc: Florian Westphal Cc: Eric Dumazet Cc: Pablo Neira Ayuso Signed-off-by: Cong Wang ---