These are fixes for problems found testing usbip in a larger setup with up to 13 devices attached at the same time (we changed VHCI_NPORTS for the tests). Review of the usb reference counting changes would be much appreciated. The change handling EAGAIN from connection timeouts set with SO_RCVTIMEO is admittedly not pretty, but the best we can do without breaking the protocol. Max Vozeler (7): staging: usbip: stub: update refcounts for devices and interfaces staging: usbip: vhci: update reference count for usb_device staging: usbip: vhci: give back URBs from in-flight unlink requests staging: usbip: vhci: refuse to enqueue for dead connections staging: usbip: vhci: friendly log messages for connection errors staging: usbip: vhci: handle EAGAIN from SO_RCVTIMEO staging: usbip: vhci: use urb->dev->portnum to find port drivers/staging/usbip/stub.h | 1 + drivers/staging/usbip/stub_dev.c | 18 ++++++++++--- drivers/staging/usbip/stub_rx.c | 4 +- drivers/staging/usbip/vhci.h | 6 ++-- drivers/staging/usbip/vhci_hcd.c | 54 ++++++++++++++++++++++++++++++++----- drivers/staging/usbip/vhci_rx.c | 50 +++++++++++++++++++++++++++++----- 6 files changed, 108 insertions(+), 25 deletions(-) -- 1.7.2.3 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel