From: David Brownell Date: Mon, 21 Aug 2006 22:26:38 +0000 (-0700) Subject: usb gadget: g_ether spinlock recursion fix X-Git-Tag: v2.6.18-rc6~5^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=789851cf0005b946557340c9bbfc7728906cdbfc;p=pandora-kernel.git usb gadget: g_ether spinlock recursion fix The new spinlock debug code turned up a spinlock recursion bug in the Ethernet gadget driver on a disconnect path; it would show up with any UDC driver where the cancellation of active requests was synchronous, rather than e.g. delayed until a controller's completion IRQ. That recursion is fixed here by creating and using a new spinlock to protect the relevant lists. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed