]> err.no Git - linux-2.6/commit
USB: fix race in ftdio_write
authorOliver Neukum <oneukum@suse.de>
Fri, 23 Mar 2007 13:30:16 +0000 (14:30 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 20:28:38 +0000 (13:28 -0700)
commit62127a585cc72509a0bfae502cc16f9935a4cda6
tree96515ced9943c82c36103cf2e48d859cb4c237e6
parentb80349b17c6e1236a24616f71e59ed31279de25a
USB: fix race in ftdio_write

this has the same race as the visor driver. The counter must be incremented
under the lock it is checked under.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c