OSDN Git Service

usbip: tools: usbipd: exclude exported devices from exportable device list
authorShuah Khan <shuahkh@osg.samsung.com>
Thu, 22 Mar 2018 02:21:56 +0000 (20:21 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Mar 2018 12:08:20 +0000 (13:08 +0100)
commit2699126bcf18db672451b82b26a1c8e954784fad
tree38aaaeaa85f715885ad2b62ea8e679b058e6b63e
parent1cbd53c8cd85a63383a075347abee8f6e3f14fbe
usbip: tools: usbipd: exclude exported devices from exportable device list

usbipd includes exported devices in response to exportable device list.
Exclude exported devices from exportable device list to avoid:

- import requests for devices that are exported only to fail the request.
- revealing devices that are imported by a client to another client.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/usb/usbip/src/usbipd.c