rtnetlink: Add ASSERT_RTNL_NET() placeholder for netdev notifier.
authorKuniyuki Iwashima <kuniyu@amazon.com>
Fri, 4 Oct 2024 22:10:31 +0000 (15:10 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 8 Oct 2024 13:16:59 +0000 (15:16 +0200)
commit03fa534856593bb4edf4935451fa55863e34a108
treecf035d8c7a17f5ad69d418d74bc0a9aa2b750a2f
parent844e5e7e656d3a7a904fd5607f8491d6fd01db8e
rtnetlink: Add ASSERT_RTNL_NET() placeholder for netdev notifier.

The global and per-netns netdev notifier depend on RTNL, and its
dependency is not so clear due to nested calls.

Let's add a placeholder to place ASSERT_RTNL_NET() for each event.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/core/Makefile
net/core/rtnl_net_debug.c [new file with mode: 0644]