summaryrefslogtreecommitdiff
path: root/drivers/usb/storage
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@redhat.com>2008-03-05 10:28:42 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2008-03-11 02:42:25 +0300
commitb507cc9710d8b6e3013468b40522e235342fc84a (patch)
tree9543c5e06c1d1fb6890d2520b876bf9828c367a6 /drivers/usb/storage
parentcdeeeae056a429e729ae9e914fa8142ee45bee93 (diff)
downloadlinux-b507cc9710d8b6e3013468b40522e235342fc84a.tar.xz
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/storage')
0 files changed, 0 insertions, 0 deletions