]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RDMA/cm: Rate limit destroy CM ID timeout error message
authorHåkon Bugge <haakon.bugge@oracle.com>
Fri, 12 Sep 2025 10:05:20 +0000 (12:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Oct 2025 09:56:34 +0000 (11:56 +0200)
commit3777506e294cce3dca062e81c3a7b1ffaec8f811
treeeb870a99e06959fff6afd457b96ae602c0056361
parenta4ca1815e37402276efe7ae3d0857bbd93d63495
RDMA/cm: Rate limit destroy CM ID timeout error message

[ Upstream commit 2bbe1255fcf19c5eb300efb6cb5ad98d66fdae2e ]

When the destroy CM ID timeout kicks in, you typically get a storm of
them which creates a log flooding. Hence, change pr_err() to
pr_err_ratelimited() in cm_destroy_id_wait_timeout().

Fixes: 96d9cbe2f2ff ("RDMA/cm: add timeout to cm_destroy_id wait")
Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com>
Link: https://patch.msgid.link/20250912100525.531102-1-haakon.bugge@oracle.com
Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/core/cm.c