summaryrefslogtreecommitdiff
path: root/Documentation/ntb.txt
diff options
context:
space:
mode:
authorShuah Khan (Samsung OSG) <shuah@kernel.org>2018-05-30 06:03:08 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-31 13:44:39 +0300
commit40ecdeb1a1875f219fda1c17d4b40daa38aed5c7 (patch)
treef35af44a152d48251ca76e9bbe9a28e9a4c4daae /Documentation/ntb.txt
parentd179f99a651685b19333360e6558110da2fe9bd7 (diff)
downloadlinux-40ecdeb1a1875f219fda1c17d4b40daa38aed5c7.tar.xz
usbip: usbip_detach: fix to check for invalid ports
usbip detach doesn't check for invalid ports and ports that are already detached. It attempts to remove state file(s) without validating the port and sends detach request to the driver for ports that are already detached. Add check for invalid ports (port > maxports) and ports that are already detached (status == VDEV_ST_NULL). Don't remove state files and don't send detach request for invalid ports and ports that are already detached. Add error and information messages that make sense. Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/ntb.txt')
0 files changed, 0 insertions, 0 deletions