USB: serial: fix USB serial fix kfifo_len locking
authorStefani Seibold <stefani@seibold.net>
Tue, 5 Jan 2010 13:30:31 +0000 (14:30 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Jan 2010 23:24:33 +0000 (15:24 -0800)
commit25719e6b4631959c9ecb1db6967537a124c4a7fa
tree3f7b5e2ad2f11b48d3c28b6ed8bea1bf5244ae2f
parent24bc7347da73a9ed3383056c3d0f28c0e361621e
USB: serial: fix USB serial fix kfifo_len locking

This patch fix a possible race bug in drivers/usb/serial/generic with
the new kfifo API.

Please apply it to the 2.6.33-rc* tree.

Signed-off-by: Stefani Seibold <stefani@seibold.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/generic.c