]> git.itanic.dy.fi Git - linux-stable/commit
thunderbolt: Use the actual buffer in tb_async_error()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 29 Apr 2022 14:10:17 +0000 (17:10 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 18 Aug 2022 08:55:46 +0000 (11:55 +0300)
commiteb100b8fa8e8b59eb3e5fc7a5fd4a1e3c5950f64
tree0aeb97c38ca6b471e256515b7da55733827cae81
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868
thunderbolt: Use the actual buffer in tb_async_error()

The received notification packet is held in pkg->buffer and not in pkg
itself. Fix this by using the correct buffer.

Fixes: 81a54b5e1986 ("thunderbolt: Let the connection manager handle all notifications")
Cc: stable@vger.kernel.org
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/ctl.c