]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netfilter: Replace call_rcu_bh(), rcu_barrier_bh(), and synchronize_rcu_bh()
authorPaul E. McKenney <paulmck@linux.ibm.com>
Sun, 11 Nov 2018 19:43:59 +0000 (11:43 -0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 1 Dec 2018 11:38:23 +0000 (12:38 +0100)
commitc8d1da4000b0b95bf95d3e13b7450eec5428da1e
tree5c345dc7895a0ececd925aeb165b710289e729e1
parentb9660987692230b381b64c1f1e912febe142c390
netfilter: Replace call_rcu_bh(), rcu_barrier_bh(), and synchronize_rcu_bh()

Now that call_rcu()'s callback is not invoked until after bh-disable
regions of code have completed (in addition to explicitly marked
RCU read-side critical sections), call_rcu() can be used in place
of call_rcu_bh().  Similarly, rcu_barrier() can be used in place of
rcu_barrier_bh() and synchronize_rcu() in place of synchronize_rcu_bh().
This commit therefore makes these changes.

Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/ipt_CLUSTERIP.c
net/netfilter/ipset/ip_set_hash_gen.h
net/netfilter/nfnetlink_log.c
net/netfilter/xt_hashlimit.c