From: Thomas Pugliese Date: Fri, 28 Feb 2014 20:31:55 +0000 (-0600) Subject: usb: wusbcore: fix kernel panic on HWA unplug X-Git-Tag: v3.15-rc1~137^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=618836cc3478aec3dc9a60488bfd43ca93a322bd;p=pandora-kernel.git usb: wusbcore: fix kernel panic on HWA unplug This patch adds ref counting to sections of code that operate on struct wa_xfer objects that were missing it. Specifically, error handling cases need to be protected from freeing the xfer while it is still in use elsewhere. This fixes a kernel panic that can occur when pulling the HWA dongle while data is being transferred to a wireless device. Signed-off-by: Thomas Pugliese Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed