summaryrefslogtreecommitdiffstats
path: root/tools/usb/usbip/src/usbip_bind.c
Commit message (Collapse)AuthorAgeFilesLines
* usbip: prevent bind loops on devices attached to vhci_hcdShuah Khan2018-01-221-0/+9
| | | | | | | | | | | | | | | | | | | | usbip host binds to devices attached to vhci_hcd on the same server when user does attach over localhost or specifies the server as the remote. usbip attach -r localhost -b busid or usbip attach -r servername (or server IP) Unbind followed by bind works, however device is left in a bad state with accesses via the attached busid result in errors and system hangs during shutdown. Fix it to check and bail out if the device is already attached to vhci_hcd. Cc: stable@vger.kernel.org Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* usbip: move usbip userspace code out of stagingValentina Manea2014-08-251-0/+214
At this point, USB/IP userspace code is fully functional and can be moved out of staging. Signed-off-by: Valentina Manea <valentina.manea.m@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>