]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: prevent buggy hubs from crashing the USB stack
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 31 Jan 2011 15:56:37 +0000 (10:56 -0500)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Apr 2011 14:52:56 +0000 (16:52 +0200)
commitdf1fb7c9969bddbe45e405f8cf6ad9ddbf93bed5
tree93d8973d692d9efdb7a99b4fdac27e53fd3da100
parente01f819a2aeebbbe6aed0ea084428e412bf642a7
USB: prevent buggy hubs from crashing the USB stack

commit d199c96d41d80a567493e12b8e96ea056a1350c1 upstream.

If anyone comes across a high-speed hub that (by mistake or by design)
claims to have no Transaction Translators, plugging a full- or
low-speed device into it will cause the USB stack to crash.  This
patch (as1446) prevents the problem by ignoring such devices, since
the kernel has no way to communicate with them.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Perry Neben <neben@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c