staging: usbip: claim ports used by shared devices
authorValentina Manea <valentina.manea.m@gmail.com>
Sat, 8 Mar 2014 12:53:34 +0000 (14:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Mar 2014 06:48:43 +0000 (22:48 -0800)
A device should not be able to be used concurrently both by
the server and the client. Claiming the port used by the
shared device ensures no interface drivers bind to it and
that it is not usable from the server.

Signed-off-by: Valentina Manea <valentina.manea.m@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/stub_dev.c
drivers/usb/core/hub.c
drivers/usb/core/usb.h
include/linux/usb.h

Simple merge
Simple merge
Simple merge
Simple merge