Thread (2 messages) flat view 2 messages, 2 authors, 2022-08-27

Re: [patch net-next] genetlink: hold read cb_lock during iteration of genl_fam_idr in genl_bind()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-08-27 02:00:20

Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski [off-list ref]:

On Thu, 25 Aug 2022 10:19:40 +0200 you wrote:
From: Jiri Pirko <redacted>

In genl_bind(), currently genl_lock and write cb_lock are taken
for iteration of genl_fam_idr and processing of static values
stored in struct genl_family. Take just read cb_lock for this task
as it is sufficient to guard the idr and the struct against
concurrent genl_register/unregister_family() calls.

[...]
Here is the summary with links:
  - [net-next] genetlink: hold read cb_lock during iteration of genl_fam_idr in genl_bind()
    https://git.kernel.org/netdev/net-next/c/8f1948bdcf2f

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