USB: cdc-wdm: fix race between interrupt handler and tasklet
authorOliver Neukum <oneukum@suse.de>
Tue, 6 Aug 2013 12:22:59 +0000 (14:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 22:41:07 +0000 (15:41 -0700)
commit6dd433e6cf2475ce8abec1b467720858c24450eb
treefc3359d4bd68a1216835b3ca12221f8632ed602b
parente9a088fae5e4f9be729f3f419627abc3886b09de
USB: cdc-wdm: fix race between interrupt handler and tasklet

Both could want to submit the same URB. Some checks of the flag
intended to prevent that were missing.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
CC: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-wdm.c