]> git.baikalelectronics.ru Git - kernel.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)
commit867061866b60c14d23d2ffe14cb4128897006a3c
treefc212281c5e750a6d0b3d0148007462f96c1728c
parent2d5165a0e84fd415476c071e0683f6fdd174a5aa
[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