Bug 7617 - USB: usbip: fix stub_dev hub disconnect
Summary: USB: usbip: fix stub_dev hub disconnect
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: GuixinLiu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-24 09:29 UTC by zhujun
Modified: 2023-11-24 09:35 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zhujun cmss_group 2023-11-24 09:29:46 UTC
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)
Comment 1 小龙 admin 2023-11-24 09:35:40 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2454