summaryrefslogtreecommitdiff
path: root/drivers/usb/wusbcore/wa-hc.c
diff options
context:
space:
mode:
authorThomas Pugliese <thomas.pugliese@gmail.com>2014-03-01 00:31:55 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-01 04:13:09 +0400
commit618836cc3478aec3dc9a60488bfd43ca93a322bd (patch)
treed43998e5913e7c21bfc0ed122cf8bd08df74e063 /drivers/usb/wusbcore/wa-hc.c
parentf080a51bef2caa9b0f647dc430bc608d5723ac29 (diff)
downloadlinux-618836cc3478aec3dc9a60488bfd43ca93a322bd.tar.xz
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 <thomas.pugliese@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/wusbcore/wa-hc.c')
0 files changed, 0 insertions, 0 deletions