]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: fix transvibrator disconnect race
authorOliver Neukum <oliver@neukum.name>
Fri, 24 Nov 2006 11:55:59 +0000 (12:55 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Dec 2006 18:13:23 +0000 (10:13 -0800)
commit96ca014d53d2c2f9d3b32fe6f2f003e660c3bc63
tree7daca3e8dc0e9d400920f7bf5aacc7c548248f91
parent6a7255e1df3cf8f89c2c0c6eeea866c6bb17cfb9
USB: fix transvibrator disconnect race

in disconnect you set the interface's private data to NULL. In your IO
methods you unconditionally follow the pointer into never never land.

Signed-off-by: Oliver Neukum <oliver@neukum.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/trancevibrator.c