diff options
author | Johan Hovold <johan@kernel.org> | 2019-10-10 14:58:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-15 20:07:43 +0200 |
commit | b14a39048c1156cfee76228bf449852da2f14df8 (patch) | |
tree | 490372575c6606b61ed4d2c047696eb7ee3899c6 /drivers/ipack | |
parent | Linux 5.4-rc3 (diff) | |
download | linux-b14a39048c1156cfee76228bf449852da2f14df8.tar.xz linux-b14a39048c1156cfee76228bf449852da2f14df8.zip |
USB: ldusb: 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: 2824bd250f0b ("[PATCH] USB: add ldusb driver")
Cc: stable <stable@vger.kernel.org> # 2.6.13
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20191010125835.27031-2-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ipack')
0 files changed, 0 insertions, 0 deletions