Files
linux-stable-mirror/include/linux
Trond Myklebust 65344e7363 SUNRPC: Prevent looping due to rpc_signal_task() races
[ Upstream commit 5bbd6e863b ]

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: 39494194f9 ("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>
2025-03-07 16:56:42 +01:00
..
2024-06-12 11:03:08 +02:00
2025-01-17 13:34:43 +01:00
2024-07-05 09:31:59 +02:00
2023-12-20 17:00:20 +01:00
2024-12-14 19:53:51 +01:00
2024-10-17 15:21:32 +02:00
2024-03-26 18:21:02 -04:00
2024-12-14 19:54:37 +01:00
2024-12-27 13:52:52 +01:00
2025-02-21 13:49:55 +01:00
2024-06-12 11:03:21 +02:00
2023-11-28 17:07:03 +00:00
2023-10-19 23:08:50 +02:00
2023-10-19 23:08:50 +02:00
2025-02-01 18:30:05 +01:00
2025-03-07 16:56:37 +01:00
2023-12-13 18:39:08 +01:00
2024-10-17 15:21:12 +02:00