]> asedeno.scripts.mit.edu Git - linux.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>
Sun, 22 Apr 2018 12:45:11 +0000 (14:45 +0200)
commit9020a7efe537856eb3e826ebebdf38a5d07a7857
tree3de9f123b04cd3952bfbe2fed7eceeaee397743f
parent5b22f676118ff25049382041da0db8012e57c9e8
usbip: vhci_hcd: Fix usb device and sockfd leaks

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