aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorAndreas Noever <andreas.noever@gmail.com>2014-08-26 17:42:21 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-26 14:54:48 -0700
commit72ad366f687d45f30a82d8b6e70ce757b21b5aab (patch)
tree76d191e82bc3cadf548bc9338214fd7274b95345 /security
parentmei: nfc: fix memory leak in error path (diff)
downloadlinux-dev-72ad366f687d45f30a82d8b6e70ce757b21b5aab.tar.xz
linux-dev-72ad366f687d45f30a82d8b6e70ce757b21b5aab.zip
thunderbolt: Clear hops before overwriting
Zero hops in tb_path_activate before writing a new path. This fixes the following scenario: - Boot with a coldplugged device - Unplug device - Plug device back in - PCI hotplug fails The hotplug operation fails because our new path matches the (now defunct) path which was setup by the firmware for the coldplugged device. By writing zeros before writing our path configuration we can force thunderbolt to retrain the path. Signed-off-by: Andreas Noever <andreas.noever@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions