diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2019-08-10 10:42:48 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2019-10-22 10:27:04 +0300 |
commit | daf82bd24e308c5a83758047aff1bd81edda4f11 (patch) | |
tree | 8be1a009f2bfaf549761aac2814bf11484e5aa79 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9ba3aca8fe82318805709036bd50bee64570088b (diff) |
usb: gadget: u_serial: add missing port entry locking
gserial_alloc_line() misses locking (for a release barrier) while
resetting port entry on TTY allocation failure. Fix this.
Cc: stable@vger.kernel.org
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Tested-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions