Re: [PATCH 1/1] usbip: don't call stub_device_reset() during stub_disconnect()

2016-05-27 Thread Alexander Popov
Hello, Excuse me for disturbing, could I have a feedback? On 20.05.2016 12:37, Alexander Popov wrote: > stub_disconnect() calls stub_device_reset() during usb_unbind_device() when > usb device is locked. So usb_lock_device_for_reset() in stub_device_reset() > in that case polls for o

[PATCH 1/1] usbip: don't call stub_device_reset() during stub_disconnect()

2016-05-20 Thread Alexander Popov
-by: Alexander Popov <alpo...@ptsecurity.com> --- drivers/usb/usbip/usbip_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/usbip/usbip_common.h b/drivers/usb/usbip/usbip_common.h index 86b0847..c4b4938 100644 --- a/drivers/usb/usbip/usbip_common.h +++ b/drivers/usb

[PATCH 1/1] usbip: fix NULL pointer dereference on errors

2016-04-28 Thread Alexander Popov
Fix NULL pointer dereference and obsolete comments forgotten when usbip server was converted from an interface driver to a device driver. Signed-off-by: Alexander Popov <alpo...@ptsecurity.com> --- drivers/usb/usbip/stub.h | 1 - drivers/usb/usbip/stub_dev.c | 4 ++-- drivers/usb