[PATCH] USB: fix race in kaweth disconnect
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 17 Nov 2005 17:47:45 +0000 (09:47 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 17 Nov 2005 19:29:54 +0000 (11:29 -0800)
commitd23b536bb715673ca0ccbdaac2b6ce2c001d06e9
treeea784d44ab72378b716c084f79926e4435eea046
parent8845add380854ffce5268714a093df8c80b4a6e2
[PATCH] USB: fix race in kaweth disconnect

this patch from Herbert Xu fixes a race by moving termination of
the URBs into close() exclusively.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Oliver Neukum <oliver@neukum.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/usb/net/kaweth.c