summaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2024-11-08 03:48:22 +0300
committerJakub Kicinski <kuba@kernel.org>2024-11-12 04:26:52 +0300
commitd91191ffe23f927b14b8e861f22037cf153c48cb (patch)
treef63ffaec680c5f9cd1a4a4297f1b1d751af4fa3c /rust/helpers
parentfefd5d08217284a8894502eb1148ff88bc8510c0 (diff)
downloadlinux-d91191ffe23f927b14b8e861f22037cf153c48cb.tar.xz
rtnetlink: Convert RTM_NEWLINK to per-netns RTNL.
Now, we are ready to convert rtnl_newlink() to per-netns RTNL; rtnl_link_ops is protected by SRCU and netns is prefetched in rtnl_newlink(). Let's register rtnl_newlink() with RTNL_FLAG_DOIT_PERNET and push RTNL down as rtnl_nets_lock(). Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org> Link: https://patch.msgid.link/20241108004823.29419-10-kuniyu@amazon.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions