linux/drivers/infiniband/hw/mlx5
Sudip Mukherjee cbafad87e1 IB/mlx5: fix debugfs cleanup
If delay_drop_debugfs_init() fails in any of the operations to create
debugfs, it is calling delay_drop_debugfs_cleanup() as part of its
cleanup. But delay_drop_debugfs_cleanup() checks for 'dbg' and since
we have not yet pointed 'dbg' to the debugfs we need to cleanup, the
cleanup fails and we are left with stray debugfs elements and also a
memory leak.

Fixes: 4a5fd5d296 ("IB/mlx5: Add necessary delay drop assignment")
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-09-22 13:17:32 -04:00
..
ah.c
cmd.c
cmd.h
cong.c
cq.c IB/mlx5: Fix some spelling mistakes 2017-08-24 16:27:11 -04:00
doorbell.c
gsi.c
ib_virt.c
Kconfig
mad.c IB/mlx5: Fix some spelling mistakes 2017-08-24 16:27:11 -04:00
main.c IB/mlx5: fix debugfs cleanup 2017-09-22 13:17:32 -04:00
Makefile
mem.c
mlx5_ib.h IB/mlx5: Fill XRQ capabilities 2017-08-29 08:30:19 -04:00
mr.c IB/mlx5: Fix integer overflow when page_shift == 31 2017-08-24 17:47:34 -04:00
odp.c RDMA/mlx5: Fix existence check for extended address vector 2017-08-04 14:24:05 -04:00
qp.c IB/mlx5: Support IB_SRQT_TM 2017-08-29 08:30:20 -04:00
srq.c IB/mlx5: Support IB_SRQT_TM 2017-08-29 08:30:20 -04:00