aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/usb-serial.c
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@redhat.com>2008-03-05 02:28:42 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-03-10 19:42:25 -0400
commitb507cc9710d8b6e3013468b40522e235342fc84a (patch)
tree9543c5e06c1d1fb6890d2520b876bf9828c367a6 /drivers/usb/serial/usb-serial.c
parentcdeeeae056a429e729ae9e914fa8142ee45bee93 (diff)
USB: fix usb-serial generic recursive lock
Nobody should be using the generic usb-serial for anything other than testing. Still, it's not a good thing that it's easy to lock up. There is a traceback from NMI oopser here: https://bugzilla.redhat.com/show_bug.cgi?id=431379 But in short, if a line discipline has a chance to echo anything, input can loop back a write method. So, don't call tty_flip_buffer_push from under a lock taken on write path. Signed-off-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/usb-serial.c')
0 files changed, 0 insertions, 0 deletions