Thread (16 messages) 16 messages, 3 authors, 3d ago

Re: [PATCH v1 net-next 00/10] net: fib_rules: RTNL-less RTM_NEWRULE and RTM_DELRULE.

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-07-01 16:50:36

Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni [off-list ref]:

On Mon, 29 Jun 2026 18:10:52 +0000 you wrote:
RTM_NEWRULE and RTM_DELRULE acquire rtnl_net_lock(), but this is
only for fib_unmerge() in IPv4.

Since commit d954a67a7dfa ("ipv4: fib_rule: Move fib4_rules_exit()
to ->exit()."), RTM_DELRULE no longer needs RTNL.

fib_unmerge() is one-time event for each netns, so we only need
RTNL for the first IPv4 rule.

[...]
Here is the summary with links:
  - [v1,net-next,01/10] net: fib_rules: Make fib_rules_ops.delete() return void.
    https://git.kernel.org/netdev/net-next/c/54fd3962c99d
  - [v1,net-next,02/10] ipv4: fib_rules: Make the need for fib_unmerge() explicit.
    https://git.kernel.org/netdev/net-next/c/5cb890ff7357
  - [v1,net-next,03/10] ipv4: fib: Protect fib_new_table() with spinlock.
    https://git.kernel.org/netdev/net-next/c/4b8f5c974d14
  - [v1,net-next,04/10] ipv4: fib: Drop RTNL annotation for net->ipv4.fib_table_hash[].
    https://git.kernel.org/netdev/net-next/c/763a9437101b
  - [v1,net-next,05/10] net: fib_rules: Add fib_rules_ops.lock.
    https://git.kernel.org/netdev/net-next/c/8e133ba99cd8
  - [v1,net-next,06/10] net: fib_rules: Remove unnecessary EXPORT_SYMBOL.
    https://git.kernel.org/netdev/net-next/c/a7e87ee40980
  - [v1,net-next,07/10] net: fib_rules: Drop RTNL assertions.
    https://git.kernel.org/netdev/net-next/c/facce49f29cc
  - [v1,net-next,08/10] net: fib_rules: Use dev_get_by_name_rcu().
    https://git.kernel.org/netdev/net-next/c/34ea2499389e
  - [v1,net-next,09/10] net: fib_rules: Only hold RTNL for the first IPv4 RTM_NEWRULE.
    https://git.kernel.org/netdev/net-next/c/eef9bddc3313
  - [v1,net-next,10/10] ipv6: fib_rules: Convert fib6_rules_net_exit_rtnl() to ->exit().
    https://git.kernel.org/netdev/net-next/c/ffc8a4b9ad2b

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help