diff options
author | Oliver Neukum <[email protected]> | 2019-08-08 11:27:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-08-08 12:43:18 +0200 |
commit | c468a8aa790e0dfe0a7f8a39db282d39c2c00b46 (patch) | |
tree | c240fe5ca5814296dad9065896cc1f315b8b642c /tools/perf/util/c++/clang.cpp | |
parent | 2ca359f4f8b954b3a9d15a89f22a8b7283e7669f (diff) |
usb: iowarrior: fix deadlock on disconnect
We have to drop the mutex before we close() upon disconnect()
as close() needs the lock. This is safe to do by dropping the
mutex as intfdata is already set to NULL, so open() will fail.
Fixes: 03f36e885fc26 ("USB: open disconnect race in iowarrior")
Reported-by: [email protected]
Cc: stable <[email protected]>
Signed-off-by: Oliver Neukum <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions