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>
Fri, 27 Sep 2013 00:18:08 +0000 (17:18 -0700)
commitc552e84c9bfd1b7feb5cd51e970b8110a31c4b89
tree81f2fe51e132df5de74fc98245f2a64be4e12d90
parentb096d2211a059f6b22f089e3907e061409dbb6c5
USB: cdc-wdm: fix race between interrupt handler and tasklet

commit 6dd433e6cf2475ce8abec1b467720858c24450eb upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-wdm.c