linux-stable/drivers/usb/usbip
Jonas Blixt 0976757a5a USB: usbip: fix stub_dev hub disconnect
[ Upstream commit 9747576348 ]

If a hub is disconnected that has device(s) that's attached to the usbip layer
the disconnect function might fail because it tries to release the port
on an already disconnected hub.

Fixes: 6080cd0e92 ("staging: usbip: claim ports used by shared devices")
Signed-off-by: Jonas Blixt <jonas.blixt@actia.se>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20230615092810.1215490-1-jonas.blixt@actia.se
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:59:26 +01:00
..
Kconfig
Makefile
stub.h
stub_dev.c USB: usbip: fix stub_dev hub disconnect 2023-11-20 11:59:26 +01:00
stub_main.c usbip: usbip_host: Replace strlcpy with strscpy 2023-06-23 09:54:32 +02:00
stub_rx.c
stub_tx.c
usbip_common.c Treewide: Stop corrupting socket's task_frag 2022-12-19 17:28:49 -08:00
usbip_common.h
usbip_event.c
vhci.h
vhci_hcd.c usbip: vhci_hcd: Convert to platform remove callback returning void 2023-05-28 12:38:02 +01:00
vhci_rx.c
vhci_sysfs.c
vhci_tx.c
vudc.h
vudc_dev.c USB: usbip: Remove an unnecessary goto 2023-08-08 10:36:51 +02:00
vudc_main.c
vudc_rx.c usb/usbip: Fix v_recv_cmd_submit() to use PIPE_BULK define 2022-11-11 10:28:42 +01:00
vudc_sysfs.c usbip: vudc: Convert snprintf() to sysfs_emit() 2022-10-22 13:20:49 +02:00
vudc_transfer.c
vudc_tx.c