+6
−6
+5
−0
+1
−1
Loading
mpls_dev_get() uses rcu_dereference_rtnl() to fetch dev->mpls_ptr. We will replace RTNL with a dedicated mutex to protect the field. Then, we will use rcu_dereference_protected() for clarity. Let's add mpls_dev_rcu() for the RCU reader. Signed-off-by:Kuniyuki Iwashima <kuniyu@google.com> Reviewed-by:
Guillaume Nault <gnault@redhat.com> Link: https://patch.msgid.link/20251029173344.2934622-7-kuniyu@google.com Signed-off-by:
Jakub Kicinski <kuba@kernel.org>