Files
linux/include/trace/events
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
..
2023-08-02 09:13:09 -06:00
2022-12-07 13:54:09 -08:00
2023-08-10 10:33:03 -05:00
2023-07-04 19:40:16 +01:00
2023-07-04 19:40:16 +01:00
2019-03-27 15:52:01 -03:00
2023-01-13 16:39:18 +01:00
2023-03-24 11:01:29 +01:00
2017-09-25 20:38:26 +02:00
2023-03-28 16:20:08 -07:00
2023-07-17 08:18:17 -06:00
2022-08-03 17:50:58 +02:00
2023-06-17 13:18:06 -04:00
2018-02-13 21:30:22 +01:00
2022-07-30 14:01:30 -04:00
2023-05-31 11:05:34 -04:00
2017-12-19 10:56:24 +01:00
2023-02-20 08:28:49 +00:00
2023-03-16 23:16:18 -04:00
2023-07-17 08:18:17 -06:00
2023-09-19 07:04:49 +02:00