Thread (19 messages) 19 messages, 6 authors, 2024-03-27

Re: [PATCH v4 1/3] genetlink: Add per family bind/unbind callbacks

From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-02-13 01:07:01
Also in: linux-pm

On Mon, 12 Feb 2024 17:16:13 +0100 Stanislaw Gruszka wrote:
Add genetlink family bind()/unbind() callbacks when adding/removing
multicast group to/from netlink client socket via setsockopt() or
bind() syscall.

They can be used to track if consumers of netlink multicast messages
emerge or disappear. Thus, a client implementing callbacks, can now
send events only when there are active consumers, preventing unnecessary
work when none exist.

Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Stanislaw Gruszka <redacted>
LGTM! genetlink code is a bit hot lately, to avoid any conflicts can
I put the first patch (or all of them) on a shared branch for both
netdev and PM to pull in? Once the other two patches are reviewed,
obviously.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help