]> git.baikalelectronics.ru Git - kernel.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Feb 2011 00:46:06 +0000 (16:46 -0800)
commit8755dc6e151855e661d3079f3f2a3035a157558d
treed3a5df8eca1476e6ba950b941a69de3becf6b75d
parent3e3f44c5a1efac92dcfd45652aeec404ea66c7fa
USB: prevent buggy hubs from crashing the USB stack

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>
CC: <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c