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