linux/drivers/infiniband/hw/mlx5
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
..
ah.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
cq.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2015-06-24 16:49:49 -07:00
doorbell.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
Kconfig net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality 2015-05-30 18:24:51 -07:00
mad.c IB/mad: Remove improper use of BUG_ON 2015-07-14 13:20:08 -04:00
main.c IB/mlx5: Remove ib_get_dma_mr calls 2015-08-30 18:12:34 -04:00
Makefile IB/mlx5: Implement the ODP capability query verb 2014-12-15 18:19:02 -08:00
mem.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
mlx5_ib.h IB/mlx5: Remove ib_get_dma_mr calls 2015-08-30 18:12:34 -04:00
mr.c IB/mlx5: avoid destroying a NULL mr in reg_user_mr error flow 2015-09-03 14:42:54 -04:00
odp.c net/mlx5_core: New device capabilities handling 2015-05-30 18:23:22 -07:00
qp.c mlx5: Enable mutual support for IB and Ethernet 2015-06-04 16:41:02 -07:00
srq.c net/mlx5_core: Enable XRCs and SRQs when using ISSI > 0 2015-06-04 16:41:01 -07:00
user.h IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00