diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-07-01 16:14:25 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-07-02 17:59:33 +0200 |
commit | 6742b9e310bcf511b876532846e5302b07b7fedc (patch) | |
tree | 3954faf22ef40a99453201b8e6b22583c8d6562d /net/mac80211/ibss.c | |
parent | dd302b59bde0149c20df7278c0d36c765e66afbd (diff) | |
download | linux-6742b9e310bcf511b876532846e5302b07b7fedc.tar.bz2 |
netfilter: nfnetlink: keep going batch handling on missing modules
After a fresh boot with no modules in place at all and a large rulesets, the
existing nfnetlink_rcv_batch() funcion can take long time to commit the ruleset
due to the many abort path. This is specifically a problem for the existing
client of this code, ie. nf_tables, since it results in several
synchronize_rcu() call in a row.
This patch changes the policy to keep full batch processing on missing modules
errors so we abort only once.
Reported-by: Eric Leblond <eric@regit.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/mac80211/ibss.c')
0 files changed, 0 insertions, 0 deletions