summaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt
diff options
context:
space:
mode:
authorMika Westerberg2018-09-28 11:21:17 +0200
committerMika Westerberg2019-04-18 10:18:51 +0200
commit9872760eb7b1d4f6066ad8b560714a5d0a728fdb (patch)
tree8149d44e48dd3d333584c0d969ed66a23370017d /drivers/thunderbolt
parentthunderbolt: Fix to check the return value of kmemdup (diff)
downloadkernel-qcow2-linux-9872760eb7b1d4f6066ad8b560714a5d0a728fdb.tar.gz
kernel-qcow2-linux-9872760eb7b1d4f6066ad8b560714a5d0a728fdb.tar.xz
kernel-qcow2-linux-9872760eb7b1d4f6066ad8b560714a5d0a728fdb.zip
net: thunderbolt: Unregister ThunderboltIP protocol handler when suspending
The XDomain protocol messages may start as soon as Thunderbolt control channel is started. This means that if the other host starts sending ThunderboltIP packets early enough they will be passed to the network driver which then gets confused because its resume hook is not called yet. Fix this by unregistering the ThunderboltIP protocol handler when suspending and registering it back on resume. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/thunderbolt')
0 files changed, 0 insertions, 0 deletions