mbox series

[net-next,0/2] rtnetlink: move rtnl_lock handling out of af_netlink

Message ID 20240606192906.1941189-1-kuba@kernel.org (mailing list archive)
Headers show
Series rtnetlink: move rtnl_lock handling out of af_netlink | expand

Message

Jakub Kicinski June 6, 2024, 7:29 p.m. UTC
With the changes done in commit 5b4b62a169e1 ("rtnetlink: make
the "split" NLM_DONE handling generic") we can also move the
rtnl locking out of af_netlink.

Jakub Kicinski (2):
  rtnetlink: move rtnl_lock handling out of af_netlink
  net: netlink: remove the cb_mutex "injection" from netlink core

 include/linux/netlink.h  |  1 -
 net/core/rtnetlink.c     |  9 +++++++--
 net/netlink/af_netlink.c | 20 +++-----------------
 3 files changed, 10 insertions(+), 20 deletions(-)

Comments

David Ahern June 6, 2024, 10:31 p.m. UTC | #1
On 6/6/24 1:29 PM, Jakub Kicinski wrote:
> With the changes done in commit 5b4b62a169e1 ("rtnetlink: make
> the "split" NLM_DONE handling generic") we can also move the
> rtnl locking out of af_netlink.
> 
> Jakub Kicinski (2):
>   rtnetlink: move rtnl_lock handling out of af_netlink
>   net: netlink: remove the cb_mutex "injection" from netlink core
> 
>  include/linux/netlink.h  |  1 -
>  net/core/rtnetlink.c     |  9 +++++++--
>  net/netlink/af_netlink.c | 20 +++-----------------
>  3 files changed, 10 insertions(+), 20 deletions(-)
> 

both look good to me
Reviewed-by: David Ahern <dsahern@kernel.org>
patchwork-bot+netdevbpf@kernel.org June 10, 2024, 12:20 p.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Thu,  6 Jun 2024 12:29:04 -0700 you wrote:
> With the changes done in commit 5b4b62a169e1 ("rtnetlink: make
> the "split" NLM_DONE handling generic") we can also move the
> rtnl locking out of af_netlink.
> 
> Jakub Kicinski (2):
>   rtnetlink: move rtnl_lock handling out of af_netlink
>   net: netlink: remove the cb_mutex "injection" from netlink core
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] rtnetlink: move rtnl_lock handling out of af_netlink
    https://git.kernel.org/netdev/net-next/c/5380d64f8d76
  - [net-next,2/2] net: netlink: remove the cb_mutex "injection" from netlink core
    https://git.kernel.org/netdev/net-next/c/5fbf57a937f4

You are awesome, thank you!