commit | 3427b2ab63faccafe774ea997fc2da7faf690c5a | [log] [tgz] |
---|---|---|
author | Cong Wang <xiyou.wangcong@gmail.com> | Thu Mar 01 18:58:38 2018 -0800 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Mon Mar 05 23:15:44 2018 +0100 |
tree | 4fe7627db7e79379d4ab69522886e492a065184c | |
parent | 0d7df906a0e78079a02108b06d32c3ef2238ad25 [diff] |
netfilter: make xt_rateest hash table per net 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 <fw@strlen.de> Cc: Eric Dumazet <edumazet@google.com> Cc: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>