diff options
author | Johan Hovold <johan@kernel.org> | 2019-10-10 14:58:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-15 20:07:43 +0200 |
commit | b6c03e5f7b463efcafd1ce141bd5a8fc4e583ae2 (patch) | |
tree | 6d3a61a0a6e5c3c017d8d1c5e406ce34bd428bc9 /drivers/ssb | |
parent | USB: ldusb: fix memleak on disconnect (diff) | |
download | linux-b6c03e5f7b463efcafd1ce141bd5a8fc4e583ae2.tar.xz linux-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 <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20191010125835.27031-3-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ssb')
0 files changed, 0 insertions, 0 deletions