diff options
| author | Stanislaw Gruszka <[email protected]> | 2024-02-12 17:16:13 +0100 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-02-15 17:49:16 -0800 |
| commit | 3de21a8990d3c2cc507e9cc4ed00f36358d5b93e (patch) | |
| tree | 163b82bef94b2e60ea478a8aeec4128c69cb2b1f /tools/perf/scripts/python/gecko.py | |
| parent | 841c35169323cd833294798e58b9bf63fa4fa1de (diff) | |
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 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions