Re: [PATCH net] netlink: don't call ->netlink_bind with table lock held

2021-04-16 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Fri, 16 Apr 2021 21:29:13 +0200 you wrote: > When I added support to allow generic netlink multicast groups to be > restricted to subscribers with CAP_NET_ADMIN I was unaware that a > genl_bind implementation already existed

[PATCH net] netlink: don't call ->netlink_bind with table lock held

2021-04-16 Thread Florian Westphal
When I added support to allow generic netlink multicast groups to be restricted to subscribers with CAP_NET_ADMIN I was unaware that a genl_bind implementation already existed in the past. It was reverted due to ABBA deadlock: 1. ->netlink_bind gets called with the table lock held. 2. genetlink b