Merge branch 'rtnl-rcu'
authorDavid S. Miller <davem@davemloft.net>
Mon, 18 Dec 2023 02:05:45 +0000 (02:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Dec 2023 02:05:45 +0000 (02:05 +0000)
Pedro Tammela says:

====================
net: rtnl: introduce rcu_replace_pointer_rtnl

Introduce the rcu_replace_pointer_rtnl helper to lockdep check rtnl lock
rcu replacements, alongside the already existing helpers.

Patch 2 uses the new helper in the rtnl_unregister_* functions.

Originally this change was part of the P4TC series, as it's a recurrent
pattern there, but since it has a use case in mainline we are pushing it
separately.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge