aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <[email protected]>2024-02-12 16:16:13 +0000
committerJakub Kicinski <[email protected]>2024-02-16 01:49:16 +0000
commit3de21a8990d3c2cc507e9cc4ed00f36358d5b93e (patch)
tree163b82bef94b2e60ea478a8aeec4128c69cb2b1f /drivers/net/xen-netback/interface.c
parentLinux 6.8-rc4 (diff)
downloadkernel-3de21a8990d3c2cc507e9cc4ed00f36358d5b93e.tar.gz
kernel-3de21a8990d3c2cc507e9cc4ed00f36358d5b93e.zip
genetlink: Add per family bind/unbind callbacks
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 <[email protected]> Signed-off-by: Stanislaw Gruszka <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions