]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RDMA/mlx5: Remove not-used cache disable flag
authorLeon Romanovsky <leonro@nvidia.com>
Thu, 28 Sep 2023 17:20:47 +0000 (20:20 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Oct 2023 20:03:06 +0000 (22:03 +0200)
commit2c5d952fd638ed0cc016b0ef393c6e028acc8ee6
tree1e4519291fa060b3fa6d1e286f39256e6fe19dc1
parent4e2d581535c3fabe181bfb462ff893007e043eaa
RDMA/mlx5: Remove not-used cache disable flag

commit c99a7457e5bb873914a74307ba2df85f6799203b upstream.

During execution of mlx5_mkey_cache_cleanup(), there is a guarantee
that MR are not registered and/or destroyed. It means that we don't
need newly introduced cache disable flag.

Fixes: 374012b00457 ("RDMA/mlx5: Fix mkey cache possible deadlock on cleanup")
Link: https://lore.kernel.org/r/c7e9c9f98c8ae4a7413d97d9349b29f5b0a23dbe.1695921626.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/mr.c