diff options
author | John Ogness <john.ogness@linutronix.de> | 2018-06-24 01:32:11 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2018-06-26 16:12:49 +0300 |
commit | e60870012e5a35b1506d7b376fddfb30e9da0b27 (patch) | |
tree | 98cc954a1e570a9aa51d4f492c7cf87aa7a1a903 /tools/perf/scripts/python/sched-migration.py | |
parent | 2ba02c8dd063c4396111629e96dec5a3f231f995 (diff) | |
download | linux-e60870012e5a35b1506d7b376fddfb30e9da0b27.tar.xz |
USB: serial: sierra: fix potential deadlock at close
The portdata spinlock can be taken in interrupt context (via
sierra_outdat_callback()).
Disable interrupts when taking the portdata spinlock when discarding
deferred URBs during close to prevent a possible deadlock.
Fixes: 014333f77c0b ("USB: sierra: fix urb and memory leak on disconnect")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
[ johan: amend commit message and add fixes and stable tags ]
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions