diff options
author | Thomas Pugliese <thomas.pugliese@gmail.com> | 2014-03-01 00:31:55 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-01 04:13:09 +0400 |
commit | 618836cc3478aec3dc9a60488bfd43ca93a322bd (patch) | |
tree | d43998e5913e7c21bfc0ed122cf8bd08df74e063 /drivers/usb/wusbcore/wa-hc.c | |
parent | f080a51bef2caa9b0f647dc430bc608d5723ac29 (diff) | |
download | linux-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