summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.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-02-03 17:04:30 +0100
commita7d225692e2adc3c50ba41c8225301b1a67cb7d3 (patch)
tree5a4c650e475d9ee8ffa57d239e761d2ff1b1ddbc /net/lapb/lapb_iface.c
parent95bb041eefc4fb4fd613cd2857ec76ea7e47fda9 (diff)
usbip: prevent bind loops on devices attached to vhci_hcd
commit ef54cf0c600fb8f5737fb001a9e357edda1a1de8 upstream. 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. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions