summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHannes Reinecke <hare@kernel.org>2025-08-18 11:32:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-02-11 13:41:51 +0100
commit1c90f930e7b410dd2d75a2a19a85e19c64e98ad5 (patch)
treec0590c0143db7339283a0497171484ea3b3bfd0d /tools/perf/scripts/python/stackcollapse.py
parent62932d9ed639a9fa71b4ac1a56766a4b43abb7e4 (diff)
downloadkernel-1c90f930e7b410dd2d75a2a19a85e19c64e98ad5.tar.gz
nvmet-tcp: fixup hang in nvmet_tcp_listen_data_ready()
[ Upstream commit 2fa8961d3a6a1c2395d8d560ffed2c782681bade ] When the socket is closed while in TCP_LISTEN a callback is run to flush all outstanding packets, which in turns calls nvmet_tcp_listen_data_ready() with the sk_callback_lock held. So we need to check if we are in TCP_LISTEN before attempting to get the sk_callback_lock() to avoid a deadlock. Link: https://lore.kernel.org/linux-nvme/CAHj4cs-zu7eVB78yUpFjVe2UqMWFkLk8p+DaS3qj+uiGCXBAoA@mail.gmail.com/ Tested-by: Yi Zhang <yi.zhang@redhat.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Hannes Reinecke <hare@kernel.org> Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions