]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usbip: vhci_hcd: Fix usb device and sockfd leaks
authorShuah Khan <shuahkh@osg.samsung.com>
Mon, 2 Apr 2018 20:52:32 +0000 (14:52 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 May 2018 14:53:39 +0000 (07:53 -0700)
commitc4e4036903ac3c6cd9cba06cd0dffb9a9aa4b069
tree4a72eeddd2e75f236dee1d7b13260638999397b8
parent50d26a47c13e6d7c96b6e250593ec2d1f4123258
usbip: vhci_hcd: Fix usb device and sockfd leaks

commit 9020a7efe537856eb3e826ebebdf38a5d07a7857 upstream.

vhci_hcd fails to do reset to put usb device and sockfd in the
module remove/stop paths. Fix the leak.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/usbip/usbip_common.h