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)
commit610a689d2a57af3e21993cb6d8c3e5f839a8c89e
tree263284eb0373c4eb54f6573434bcb6b073b772fa
parent54f4c2570a19186dfebd555b163084c1824cf1d6
parent174523479aae31b17c043de127c87ff2aef3d54e
Merge branch 'rtnl-rcu'

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>