]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
usb: cdc-wdm: Fix race between write and disconnect
authorOliver Neukum <oliver@neukum.org>
Sat, 27 Feb 2010 19:54:24 +0000 (20:54 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Mar 2010 14:24:14 +0000 (07:24 -0700)
commit860e41a71c1731e79e1920dc42676bafc925af5e
tree3374857a0a3da76cf37ccde54c3fe3230223a034
parentaa4714560b4ea359bb7830188ebd06bce71bcdea
usb: cdc-wdm: Fix race between write and disconnect

Unify mutexes to fix a race between write and disconnect
and shift the test for disconnection to always report it.

Signed-off-by: Oliver Neukum <neukum@b1-systems.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-wdm.c