diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2019-09-24 01:42:28 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2019-10-30 18:45:26 +0300 |
commit | e3f0d761fcaec5d445c9280d6e09087dc32828d2 (patch) | |
tree | a3d337505d464ae77766ac7a9f3296b243128f47 /net/sched | |
parent | 6092f7263f7e56dacf72e383ed7ba9cbabec30e5 (diff) | |
download | linux-e3f0d761fcaec5d445c9280d6e09087dc32828d2.tar.xz |
net/core: 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>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jiri Pirko <jiri@mellanox.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Ido Schimmel <idosch@mellanox.com>
Cc: Petr Machata <petrm@mellanox.com>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: <netdev@vger.kernel.org>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions