Thread (4 messages) 4 messages, 3 authors, 2026-09-16

Re: [PATCH net] netlink: do not free nlk->groups while lockless readers can use it

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-09-16 01:51:12

Hello:

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

On Fri, 11 Sep 2026 16:08:04 +0000 you wrote:
netlink_realloc_groups() uses krealloc() under netlink_table_grab().
Whenever NLGRPSZ(groups) lands in a different kmalloc bucket, the old
bitmap is freed immediately.

Two readers of nlk->groups / nlk->ngroups do not hold the netlink
table lock:

[...]
Here is the summary with links:
  - [net] netlink: do not free nlk->groups while lockless readers can use it
    https://git.kernel.org/netdev/net/c/ceac0de741bf

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