]> git.ipfire.org Git - thirdparty/linux.git/commit
net/rds: Don't sleep inside rds_ib_conn_path_shutdown
authorAllison Henderson <achender@kernel.org>
Mon, 18 May 2026 01:24:33 +0000 (18:24 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 21 May 2026 00:03:02 +0000 (17:03 -0700)
commit16f48efaeb6991193fb7775c577f06f5b20b0c90
tree67eb5c0a2dd61be012dfdda910bbd57302e27942
parent2e68f49bda78f6f62f5b287dbed1ee69a44b9a67
net/rds: Don't sleep inside rds_ib_conn_path_shutdown

New rds rdma self tests exposed a hang when tearing down
the ib network configs.  This is caused by the shutdown worker
thread sleeping on the wait_event call, which blocks other work
items in the queue. Fix this by changing wait_event to
wait_event timeout, and looping until the wait check succeeds.

Signed-off-by: Allison Henderson <achender@kernel.org>
Link: https://patch.msgid.link/20260518012443.2629206-2-achender@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/rds/ib_cm.c