summaryrefslogtreecommitdiffstats
path: root/fs/select.c
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2018-01-17 12:07:30 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-22 15:34:37 +0100
commitef54cf0c600fb8f5737fb001a9e357edda1a1de8 (patch)
treee2ee1552dd7ab77b6701bac39f4aac2628a152fc /fs/select.c
parentf0b4198f0727dd758a6ef34eca938c559b5d5ae5 (diff)
downloadlinux-stable-ef54cf0c600fb8f5737fb001a9e357edda1a1de8.tar.gz
linux-stable-ef54cf0c600fb8f5737fb001a9e357edda1a1de8.tar.bz2
linux-stable-ef54cf0c600fb8f5737fb001a9e357edda1a1de8.zip
usbip: prevent bind loops on devices attached to vhci_hcd
usbip host binds to devices attached to vhci_hcd on the same server when user does attach over localhost or specifies the server as the remote. usbip attach -r localhost -b busid or usbip attach -r servername (or server IP) Unbind followed by bind works, however device is left in a bad state with accesses via the attached busid result in errors and system hangs during shutdown. Fix it to check and bail out if the device is already attached to vhci_hcd. Cc: stable@vger.kernel.org Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/select.c')
0 files changed, 0 insertions, 0 deletions