diff options
author | Jiri Kosina <[email protected]> | 2007-10-20 00:05:19 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2007-10-25 12:18:45 -0700 |
commit | acd2a847e7fee7df11817f67dba75a2802793e5d (patch) | |
tree | 7eba6fe6c15f5f11ffdec779c9979f1ec6b4c6b9 /net/unix/sysctl_net_unix.c | |
parent | 8a28dea3accda319d51a1bf4d3e280771d946f78 (diff) |
USB: usbserial - fix potential deadlock between write() and IRQ
USB: usbserial - fix potential deadlock between write() and IRQ
usb_serial_generic_write() doesn't disable interrupts when taking port->lock,
and could therefore deadlock with usb_serial_generic_read_bulk_callback()
being called from interrupt, taking the same lock. Fix it.
Signed-off-by: Jiri Kosina <[email protected]>
Acked-by: Larry Finger <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions