diff options
author | Johan Hovold <johan@kernel.org> | 2020-01-13 18:22:13 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2020-01-14 12:05:44 +0100 |
commit | 5e28055f340275a8616eee88ef19186631b4d136 (patch) | |
tree | 85523bb3654af880c6ae5248863ef445e7c9158e /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | accf227de4d211b52c830a58b2df00d5739f2389 (diff) |
USB: serial: opticon: fix control-message timeouts
The driver was issuing synchronous uninterruptible control requests
without using a timeout. This could lead to the driver hanging
on open() or tiocmset() due to a malfunctioning (or malicious) device
until the device is physically disconnected.
The USB upper limit of five seconds per request should be more than
enough.
Fixes: 309a057932ab ("USB: opticon: add rts and cts support")
Cc: stable <stable@vger.kernel.org> # 2.6.39
Cc: Martin Jansen <martin.jansen@opticon.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions