Re: RDMA/mlx5: Regression since v5.15-rc5: Kernel panic when called ib_dereg_mr
From: Leon Romanovsky <leon@kernel.org>
Date: 2021-12-21 10:26:15
From: Leon Romanovsky <leon@kernel.org>
Date: 2021-12-21 10:26:15
On Tue, Dec 21, 2021 at 09:20:28AM +0100, Karsten Graul wrote:
On 21/12/2021 09:04, Tony Lu wrote:quoted
Hello, During developing and testing of SMC (net/smc), We found a problem, when SMC released linkgroup or link, it called ib_dereg_mr to release resources, then it panicked in mlx5_ib_dereg_mr. After investigation, we found this panic was introduce by this commit: f0ae4afe3d35 ("RDMA/mlx5: Fix releasing unallocated memory in dereg MR flow")+1, this panic in our environment:
I assume that this patch will fix. https://lore.kernel.org/all/f298db4ec5fdf7a2d1d166ca2f66020fd9397e5c.1640079962.git.leonro@nvidia.com (local) Thanks