diff options
author | Pete Zaitcev <zaitcev@redhat.com> | 2008-03-05 02:28:42 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-03-10 19:42:25 -0400 |
commit | b507cc9710d8b6e3013468b40522e235342fc84a (patch) | |
tree | 9543c5e06c1d1fb6890d2520b876bf9828c367a6 /drivers/usb/serial/usb-serial.c | |
parent | cdeeeae056a429e729ae9e914fa8142ee45bee93 (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