Commit 7590649e authored by Vlad Dumitrescu's avatar Vlad Dumitrescu Committed by Leon Romanovsky
Browse files

IB/cm: Drop lockdep assert and WARN when freeing old msg



The send completion handler can run after cm_id has advanced to another
message.  The cm_id lock is not needed in this case, but a recent change
re-used cm_free_priv_msg(), which asserts that the lock is held and
WARNs if the cm_id's currently outstanding msg is different than the one
being freed.

Fixes: 1e515921 ("IB/cm: Do not hold reference on cm_id unless needed")
Signed-off-by: default avatarVlad Dumitrescu <vdumitrescu@nvidia.com>
Reviewed-by: default avatarSean Hefty <shefty@nvidia.com>
Link: https://patch.msgid.link/0c364c29142f72b7875fdeba51f3c9bd6ca863ee.1745839788.git.leon@kernel.org


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 3db60cf9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment