diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2019-09-24 01:53:02 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2019-10-30 18:45:38 +0300 |
commit | b685b534bf1586a01b32280d1da39febaf270039 (patch) | |
tree | 7161e5a3e85ea2f8513e67b59b9e85bf02634569 /net/sched | |
parent | e3f0d761fcaec5d445c9280d6e09087dc32828d2 (diff) | |
download | linux-b685b534bf1586a01b32280d1da39febaf270039.tar.xz |
net/netfilter: Replace rcu_swap_protected() with rcu_replace_pointer()
This commit replaces the use of rcu_swap_protected() with the more
intuitively appealing rcu_replace_pointer() as a step towards removing
rcu_swap_protected().
Link: https://lore.kernel.org/lkml/CAHk-=wiAsJLw1egFEE=Z7-GGtM6wcvtyytXZA1+BHqta4gg6Hw@mail.gmail.com/
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
[ paulmck: From rcu_replace() to rcu_replace_pointer() per Ingo Molnar. ]
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Jozsef Kadlecsik <kadlec@netfilter.org>
Cc: Florian Westphal <fw@strlen.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: <netfilter-devel@vger.kernel.org>
Cc: <coreteam@netfilter.org>
Cc: <netdev@vger.kernel.org>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions