linux-stable/drivers/infiniband/hw
Haggai Eran 11d748045c IB/mlx5: avoid destroying a NULL mr in reg_user_mr error flow
The mlx5_ib_reg_user_mr() function will attempt to call clean_mr() in
its error flow even though there is never a case where the error flow
occurs with a valid MR pointer to destroy.

Remove the clean_mr() call and the incorrect comment above it.

Fixes: b4cfe447d4 ("IB/mlx5: Implement on demand paging by adding
support for MMU notifiers")
Cc: Eli Cohen <eli@mellanox.com>
Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-09-03 14:42:54 -04:00
..
cxgb3 cxgb3: Support ib_alloc_mr verb 2015-08-30 18:08:47 -04:00
cxgb4 IB/cxgb4: Fix if statement in pick_local_ip6adddrs 2015-09-03 14:03:59 -04:00
ehca
mlx4 IB/mlx4_ib: Disassociate support 2015-08-30 18:12:40 -04:00
mlx5 IB/mlx5: avoid destroying a NULL mr in reg_user_mr error flow 2015-09-03 14:42:54 -04:00
mthca mlx4, mlx5, mthca: Expose max_sge_rd correctly 2015-08-28 23:02:10 -04:00
nes nes: Support ib_alloc_mr verb 2015-08-30 18:08:48 -04:00
ocrdma RDMA/ocrdma: Incorporate the moving of GID Table mgmt to IB/Core 2015-08-30 18:12:21 -04:00
qib qib: Support ib_alloc_mr verb 2015-08-30 18:08:48 -04:00
usnic
Makefile RDMA/amso1100: Deprecate the amso1100 driver and move to staging 2015-08-28 22:54:49 -04:00