Revert "RDMA/mlx5: Fix releasing unallocated memory in dereg MR flow"
authorMaor Gottlieb <maorg@nvidia.com>
Wed, 22 Dec 2021 10:13:12 +0000 (12:13 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 5 Jan 2022 13:04:30 +0000 (09:04 -0400)
commit4163cb3d1980383220ad7043002b930995dcba33
tree5cb786af4479ac0dcd27bcf313bac6c337be8156
parent8ff5f5d9d8cfce6a1e368a6daa7123be133a6c35
Revert "RDMA/mlx5: Fix releasing unallocated memory in dereg MR flow"

This patch is not the full fix and still causes to call traces
during mlx5_ib_dereg_mr().

This reverts commit f0ae4afe3d35e67db042c58a52909e06262b740f.

Fixes: f0ae4afe3d35 ("RDMA/mlx5: Fix releasing unallocated memory in dereg MR flow")
Link: https://lore.kernel.org/r/20211222101312.1358616-1-maorg@nvidia.com
Signed-off-by: Maor Gottlieb <maorg@nvidia.com>
Acked-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/mr.c