summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorGrzegorz Nitka <grzegorz.nitka@intel.com>2026-06-07 21:30:37 +0300
committerJakub Kicinski <kuba@kernel.org>2026-06-13 23:24:33 +0300
commitdf0ba51ccf873e533669578104981109217d8201 (patch)
treee76ecab40d19a9469873a54337a2e8ed8cd8c879 /tools/lib/python
parente83b403eb142be18d223fc599c0ac45519053671 (diff)
downloadlinux-df0ba51ccf873e533669578104981109217d8201.tar.xz
dpll: emit per-dpll delete notifications in dpll_pin_on_pin_unregister()
dpll_pin_on_pin_register() emits a creation notification for every parent->dpll_refs entry, but dpll_pin_on_pin_unregister() emitted only one deletion notification outside the loop. When a pin is registered against multiple parent dplls, userspace sees N creates but a single delete and leaks per-dpll state. Move dpll_pin_delete_ntf() into the loop and call it before __dpll_pin_unregister() so the DPLL_REGISTERED mark is still set when dpll_pin_available() is consulted. Fixes: 9d71b54b65b1 ("dpll: netlink: Add DPLL framework base functions") Signed-off-by: Grzegorz Nitka <grzegorz.nitka@intel.com> Reviewed-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com> Link: https://patch.msgid.link/20260607183045.1213735-6-grzegorz.nitka@intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions