summaryrefslogtreecommitdiff
path: root/drivers/thunderbolt/nhi.h
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2018-04-06 01:31:49 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-22 15:45:11 +0300
commit5b22f676118ff25049382041da0db8012e57c9e8 (patch)
tree7d5843e43ca3cbe50c73621feae6dab03938875c /drivers/thunderbolt/nhi.h
parent83a62c51ba7b3c0bf45150c4eac7aefc6c785e94 (diff)
downloadlinux-5b22f676118ff25049382041da0db8012e57c9e8.tar.xz
usbip: vhci_hcd: check rhport before using in vhci_hub_control()
Validate !rhport < 0 before using it to access port_status array. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thunderbolt/nhi.h')
0 files changed, 0 insertions, 0 deletions