From: Pete Zaitcev Date: Wed, 5 Mar 2008 07:28:42 +0000 (-0800) Subject: USB: fix usb-serial generic recursive lock X-Git-Tag: v2.6.25-rc6~45^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b507cc9710d8b6e3013468b40522e235342fc84a;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed