diff options
author | Florian Westphal | 2017-12-01 00:21:02 +0100 |
---|---|---|
committer | Pablo Neira Ayuso | 2018-01-08 18:01:05 +0100 |
commit | 4e645b47c4f000a503b9c90163ad905786b9bc1d (patch) | |
tree | 551fcbc839f3dc980b10705cd6a288a944c0a099 /include/net | |
parent | netfilter: nf_conntrack_h323: Remove unwanted comments. (diff) | |
download | kernel-qcow2-linux-4e645b47c4f000a503b9c90163ad905786b9bc1d.tar.gz kernel-qcow2-linux-4e645b47c4f000a503b9c90163ad905786b9bc1d.tar.xz kernel-qcow2-linux-4e645b47c4f000a503b9c90163ad905786b9bc1d.zip |
netfilter: core: make nf_unregister_net_hooks simple wrapper again
This reverts commit d3ad2c17b4047
("netfilter: core: batch nf_unregister_net_hooks synchronize_net calls").
Nothing wrong with it. However, followup patch will delay freeing of hooks
with call_rcu, so all synchronize_net() calls become obsolete and there
is no need anymore for this batching.
This revert causes a temporary performance degradation when destroying
network namespace, but its resolved with the upcoming call_rcu conversion.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions