From: Thomas Pugliese Date: Tue, 1 Oct 2013 15:14:56 +0000 (-0500) Subject: usb: wusbcore: avoid stack overflow in URB enqueue error path X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~66^2~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33186c441684de348636f94412d2fc256e641113;p=pandora-kernel.git usb: wusbcore: avoid stack overflow in URB enqueue error path This patch modifies wa_urb_enqueue to return an error and not call the urb completion routine if it failed to enqueue the urb because the HWA device is gone. This prevents a stack overflow due to infinite submit/complete recursion when unplugging the HWA while connected to a HID device. Signed-off-by: Thomas Pugliese Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed