]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] USB: Fix race condition in usblp_write
authorC. Adam Oldham <oldhamca@gmail.com>
Thu, 2 Jun 2005 21:16:34 +0000 (17:16 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Jun 2005 21:44:01 +0000 (14:44 -0700)
commit2c45b6feb394337b4b468229632b8737375caf1d
treefc212281c5e750a6d0b3d0148007462f96c1728c
parent5da0106f0b9b13afa4a902c01d4c98b002df55ff
[PATCH] USB: Fix race condition in usblp_write

Initialize status fields in the read and write urbs to prevent a race
condition with open/read/close - open/write/close sequences.

Fixes bug #4432 at bugzilla.kernel.org

Signed-off-by: Adam Oldham <oldhamca@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/usblp.c