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. Additional info: 社区有patch已经解决 USB: usbip: fix stub_dev hub disconnect commit 5fe228041c511d8e1dcbd005c0891fc9e1f72722 Reference:https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.10.y&id=5fe228041c511d8e1dcbd005c0891fc9e1f72722 git cherry-pick -s 5fe228041c(with stable-v5.10.201 repo added)
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2454