]> git.ipfire.org Git - thirdparty/linux.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)
committerLeon Romanovsky <leon@kernel.org>
Mon, 15 Sep 2025 07:41:45 +0000 (03:41 -0400)
commit2bbe1255fcf19c5eb300efb6cb5ad98d66fdae2e
tree54b78ab649ffbd754103ed8b31f5014b8b28523b
parenteba165b2909716c690351d21d9b6b6d95b9e1f59
RDMA/cm: Rate limit destroy CM ID timeout error message

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>
drivers/infiniband/core/cm.c