aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorDario Binacchi <[email protected]>2022-07-15 09:29:51 +0200
committerMarc Kleine-Budde <[email protected]>2022-07-19 20:54:53 +0200
commitc6887023268e8c92c7409613065db7ba50b25f18 (patch)
treef92a57c38ca01ccce0379f399dd33e362bf38e05 /tools/perf/scripts/python/sched-migration.py
parentcc944c89c53eee81b266aed2cb1f445488e54e6a (diff)
can: slcan: do not sleep with a spin lock held
We can't call close_candev() with a spin lock held, so release the lock before calling it. After calling close_candev(), we can update the fields of the private `struct can_priv' without having to acquire the lock. Fixes: c4e54b063f42f ("can: slcan: use CAN network device driver API") Link: https://lore.kernel.org/linux-kernel/Ysrf1Yc5DaRGN1WE@xsang-OptiPlex-9020/ Link: https://lore.kernel.org/all/[email protected] Reported-by: kernel test robot <[email protected]> Signed-off-by: Dario Binacchi <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions