aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2020-01-13 10:38:57 -0800
committerDmitry Torokhov <[email protected]>2020-01-16 20:26:45 -0800
commitba9a103f40fc4a3ec7558ec9b0b97d4f92034249 (patch)
tree2761aee2921aaeeb76596432a193ef6b608d7be5 /lib/mpi/mpi-cmp.c
parentce535a2efb48d8d4c4e4b97e2764d7cee73d9b55 (diff)
Input: keyspan-remote - fix control-message timeouts
The driver was issuing synchronous uninterruptible control requests without using a timeout. This could lead to the driver hanging on probe due to a malfunctioning (or malicious) device until the device is physically disconnected. While sleeping in probe the driver prevents other devices connected to the same hub from being added to (or removed from) the bus. The USB upper limit of five seconds per request should be more than enough. Fixes: 99f83c9c9ac9 ("[PATCH] USB: add driver for Keyspan Digital Remote") Signed-off-by: Johan Hovold <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Cc: stable <[email protected]> # 2.6.13 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions