diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2025-10-29 17:32:59 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-03 17:40:48 -0800 |
| commit | 1fb462de9329731c17267c7ccf19619f22790a0a (patch) | |
| tree | f49cb29c6d59a59441e6b4cd6591a4036303a3c0 /scripts/objdiff | |
| parent | ab061f3347923b6e3aa7731056dc58cbe5044c9f (diff) | |
mpls: Pass net to mpls_dev_get().
We will replace RTNL with a per-netns mutex to protect dev->mpls_ptr.
Then, we will use rcu_dereference_protected() with the lockdep_is_held()
annotation, which requires net to access the per-netns mutex.
However, dev_net(dev) is not safe without RTNL.
Let's pass net to mpls_dev_get().
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Link: https://patch.msgid.link/20251029173344.2934622-8-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
