Revision b972b68c396cfa9f8af7e0b314e22705251bc218 authored by David Brownell on 30 June 2006, 09:34:42 UTC, committed by Greg Kroah-Hartman on 12 July 2006, 23:03:23 UTC
In a rare and all-but-unused path, the EHCI driver could reuse a variable
in a way that'd make trouble.  Specifically, if the first root hub port
gets an overcurrent event (rare) during a remote wakeup scenario (all but
unused in today's Linux, except for folk working with suspend-to-RAM and
similar sleep states), that would look like a fatal error which would shut
down the controller.  Fix by not reusing that variable.

Spotted by Per Hallsmark <saxofon@musiker.nu>
Fixes http://bugzilla.kernel.org/show_bug.cgi?id=6661

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 69de51f
History
File Mode Size
Makefile -rw-r--r-- 237 bytes
compat.c -rw-r--r-- 17.3 KB
compat_mq.c -rw-r--r-- 4.0 KB
mqueue.c -rw-r--r-- 29.8 KB
msg.c -rw-r--r-- 18.6 KB
msgutil.c -rw-r--r-- 2.4 KB
sem.c -rw-r--r-- 33.2 KB
shm.c -rw-r--r-- 21.6 KB
util.c -rw-r--r-- 17.0 KB
util.h -rw-r--r-- 2.6 KB

back to top