]> git.ipfire.org Git - thirdparty/linux.git/commit
RDMA/core: let rdma_connect_locked() call lockdep_assert_held(&id_priv->handler_mutex)
authorStefan Metzmacher <metze@samba.org>
Wed, 8 Oct 2025 16:59:13 +0000 (18:59 +0200)
committerLeon Romanovsky <leon@kernel.org>
Sun, 19 Oct 2025 11:03:25 +0000 (07:03 -0400)
commit879424832d241001e288cc741ed8a9253387a34a
treeca80dbe0e8fbce03218d6089671389347d6efcce
parentcfd51fcf117157df8fb1ff0552d2fac909bdfc3d
RDMA/core: let rdma_connect_locked() call lockdep_assert_held(&id_priv->handler_mutex)

rdma_accept() also has this, so this is now more consistent and may
prevent bugs in future.

Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Leon Romanovsky <leon@kernel.org>
Cc: linux-rdma@vger.kernel.org
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Link: https://patch.msgid.link/20251008165913.444276-1-metze@samba.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/core/cma.c