summaryrefslogtreecommitdiff
path: root/kernel/debug
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2025-02-01 15:00:02 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-07 18:25:27 +0100
commita3ae6a60baf7cce449306a33d46ecdbd40211b37 (patch)
treede7a47f08bcdcc3d2af435f999fa6c9baac8d99d /kernel/debug
parentb6423ea93ab4fe67a3955b67591ad6c991e7220b (diff)
downloadlinux-a3ae6a60baf7cce449306a33d46ecdbd40211b37.tar.gz
linux-a3ae6a60baf7cce449306a33d46ecdbd40211b37.tar.bz2
linux-a3ae6a60baf7cce449306a33d46ecdbd40211b37.zip
SUNRPC: Prevent looping due to rpc_signal_task() races
[ Upstream commit 5bbd6e863b15a85221e49b9bdb2d5d8f0bb91f3d ] If rpc_signal_task() is called while a task is in an rpc_call_done() callback function, and the latter calls rpc_restart_call(), the task can end up looping due to the RPC_TASK_SIGNALLED flag being set without the tk_rpc_status being set. Removing the redundant mechanism for signalling the task fixes the looping behaviour. Reported-by: Li Lingfeng <lilingfeng3@huawei.com> Fixes: 39494194f93b ("SUNRPC: Fix races with rpc_killall_tasks()") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/debug')
0 files changed, 0 insertions, 0 deletions