aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/core.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2019-10-10 12:58:35 +0000
committerGreg Kroah-Hartman <[email protected]>2019-10-15 18:07:43 +0000
commitb6c03e5f7b463efcafd1ce141bd5a8fc4e583ae2 (patch)
tree6d3a61a0a6e5c3c017d8d1c5e406ce34bd428bc9 /drivers/usb/cdns3/core.c
parentUSB: ldusb: fix memleak on disconnect (diff)
downloadkernel-b6c03e5f7b463efcafd1ce141bd5a8fc4e583ae2.tar.gz
kernel-b6c03e5f7b463efcafd1ce141bd5a8fc4e583ae2.zip
USB: legousbtower: fix memleak on disconnect
If disconnect() races with release() after a process has been interrupted, release() could end up returning early and the driver would fail to free its driver data. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Cc: stable <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/core.c')
0 files changed, 0 insertions, 0 deletions