diff options
| author | John Ogness <john.ogness@linutronix.de> | 2018-06-24 01:32:11 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-22 08:44:54 +0300 |
| commit | e14aed8af80b178979255d56060cb81cdcf1f676 (patch) | |
| tree | 0c81b1beb130aabe7300277b84572e6e2fe4d182 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 99747622f957caff1e6064390728fa3e1c324984 (diff) | |
| download | linux-e14aed8af80b178979255d56060cb81cdcf1f676.tar.xz | |
USB: serial: sierra: fix potential deadlock at close
commit e60870012e5a35b1506d7b376fddfb30e9da0b27 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
