diff options
author | Alexander Usyskin <[email protected]> | 2022-12-13 00:02:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-01-20 13:21:48 +0100 |
commit | a43866856125c3c432e2fbb6cc63cee1539ec4a7 (patch) | |
tree | 509c37fdcbb5161e25ee00088cf3726d5c9e177a /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 732065df5deb5d565f66780a97990e77fc9bc49f (diff) |
mei: bus: fix unlink on bus in error path
Unconditional call to mei_cl_unlink in mei_cl_bus_dev_release leads
to call of the mei_cl_unlink without corresponding mei_cl_link.
This leads to miscalculation of open_handle_count (decrease without
increase).
Call unlink in mei_cldev_enable fail path and remove blanket unlink
from mei_cl_bus_dev_release.
Fixes: 34f1166afd67 ("mei: bus: need to unlink client before freeing")
Cc: <[email protected]>
Signed-off-by: Alexander Usyskin <[email protected]>
Reviewed-by: Tomas Winkler <[email protected]>
Signed-off-by: Tomas Winkler <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions