]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RDMA/mlx5: Drop redundant work canceling from clean_keys()
authorMichael Guralnik <michaelgur@nvidia.com>
Tue, 3 Sep 2024 11:24:47 +0000 (14:24 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:33:10 +0000 (16:33 +0200)
commitbcaaa91005f8b3a7509bf8579b0cf7021375e703
tree53b3a33cae958c73faaaecddfbe0948db01c0e30
parent62d5ba1b8f87796da5bb4331a939a66124ae91cc
RDMA/mlx5: Drop redundant work canceling from clean_keys()

[ Upstream commit 30e6bd8d3b5639f8f4261e5e6c0917ce264b8dc2 ]

The canceling of dealyed work in clean_keys() is a leftover from years
back and was added to prevent races in the cleanup process of MR cache.
The cleanup process was rewritten a few years ago and the canceling of
delayed work and flushing of workqueue was added before the call to
clean_keys().

Signed-off-by: Michael Guralnik <michaelgur@nvidia.com>
Link: https://patch.msgid.link/943d21f5a9dba7b98a3e1d531e3561ffe9745d71.1725362530.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Stable-dep-of: 7ebb00cea49d ("RDMA/mlx5: Fix MR cache temp entries cleanup")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/mlx5/mr.c