commit | 635e664a6b4d4b9c12f507045d156ea419b62dff | [log] [tgz] |
---|---|---|
author | Igor Kotrasinski <i.kotrasinsk@samsung.com> | Mon Sep 21 11:30:45 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Oct 04 10:59:03 2015 +0100 |
tree | f6e18c6921b55b66f522e9ee446b80dadd4fb1ab | |
parent | 03b0a52822fec8fba351fd472f3adda6fd760e77 [diff] |
usbip: vhci_hcd: at unlink, return -EIDRM if vhci_rx took the urb In a situation where the urb is about to be returned or was never there, we should return -EIDRM (as per usb_hcd_check_unlink_urb). This is exactly the situation when the urb is picked up by vhci_rx before we access priv. Return -EIDRM rather than 0 when this happens. Signed-off-by: Igor Kotrasinski <i.kotrasinsk@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>