summaryrefslogtreecommitdiff
path: root/net/core/dev.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-11-03 17:40:59 -0800
committerJakub Kicinski <kuba@kernel.org>2025-11-03 17:41:01 -0800
commit998b5d9683d9c415bd3ad0dcc9e8f2d0d34afaa4 (patch)
tree2c460ed9ef84fd7e754d6f17d362d104bc61ad2e /net/core/dev.h
parent209ff7af79bf495e6c3d300bf3dea6aeea973bc7 (diff)
parent7d99a7c6c6a3d0d6456520baa85d58095bf262ee (diff)
Merge branch 'mpls-remove-rtnl-dependency'
Kuniyuki Iwashima says: ==================== mpls: Remove RTNL dependency. MPLS uses RTNL 1) to guarantee the lifetime of struct mpls_nh.nh_dev 2) to protect net->mpls.platform_label , but neither actually requires RTNL. If struct mpls_nh holds a refcnt for nh_dev, we do not need RTNL, and it can be replaced with a dedicated mutex. The series removes RTNL from net/mpls/. Overview: Patch 1 is misc cleanup. Patch 2 - 9 are prep to drop RTNL for RTM_{NEW,DEL,GET}ROUTE handlers. Patch 10 & 11 converts mpls_dump_routes() and RTM_GETNETCONF to RCU. Patch 12 replaces RTNL with a new per-netns mutex. Patch 13 drops RTNL from RTM_{NEW,DEL,GET}ROUTE. ==================== Link: https://patch.msgid.link/20251029173344.2934622-1-kuniyu@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/dev.h')
0 files changed, 0 insertions, 0 deletions