Files
linux-cix/include/linux
Trond Myklebust c688d2d8b0 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: 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:45:36 +01:00
..
2024-07-25 09:50:47 +02:00
2023-09-11 15:24:16 -07:00
2024-10-04 16:29:59 +02:00
2024-06-12 11:11:38 +02:00
2024-07-05 09:34:04 +02:00
2024-03-26 18:20:13 -04:00
2024-12-14 19:59:58 +01:00
2024-08-29 17:33:31 +02:00
2025-02-01 18:37:54 +01:00
2025-02-08 09:51:56 +01:00
2024-06-16 13:47:41 +02:00
2024-06-12 11:12:52 +02:00
2025-02-08 09:52:02 +01:00
2025-01-09 13:31:41 +01:00
2024-04-03 15:28:29 +02:00
2025-02-08 09:52:38 +01:00
2024-06-12 11:11:56 +02:00
2025-01-23 17:21:12 +01:00
2023-10-06 11:01:23 +02:00
2023-10-06 11:01:23 +02:00
2024-05-17 12:01:59 +02:00
2025-01-09 13:31:41 +01:00
2025-02-01 18:37:51 +01:00
2025-02-27 04:10:50 -08:00
2024-08-29 17:33:23 +02:00
2023-11-28 17:19:38 +00:00
2024-10-17 15:24:23 +02:00
2024-11-08 16:28:26 +01:00