linux_dsm_epyc7002/drivers/infiniband/hw/mlx5
Mark Bloch fc9e4477f9 RDMA/mlx5: Fix memory leak in case we fail to add an IB device
Make sure the IB device is freed on failure.

Fixes: b5ca15ad7e ("IB/mlx5: Add proper representors support")
Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Bodong Wang <bodong@mellanox.com>
Reviewed-by: Håkon Bugge <haakon.bugge@oracle.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-02-11 15:32:29 -07:00
..
ah.c RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
cmd.c RDMA/mad: Reduce MAD scope to mlx5_ib only 2019-01-15 10:02:29 +02:00
cmd.h RDMA/mad: Reduce MAD scope to mlx5_ib only 2019-01-15 10:02:29 +02:00
cong.c infiniband: mlx5: no need to check return value of debugfs_create functions 2019-01-24 09:22:29 -07:00
cq.c IB/mlx5: Fix the locking of SRQ objects in ODP events 2019-02-04 14:34:06 -07:00
devx.c IB/mlx5: Fix bad flow upon DEVX mkey creation 2019-02-11 15:30:40 -07:00
doorbell.c IB/{core,hw}: Have ib_umem_get extract the ib_ucontext from ib_udata 2019-01-10 17:07:45 -07:00
flow.c RDMA/mlx5: Fix flow creation on representors 2019-01-25 11:58:06 -07:00
gsi.c RDMA, core and ULPs: Declare ib_post_send() and ib_post_recv() arguments const 2018-07-30 20:09:34 -06:00
ib_rep.c RDMA/mlx5: Fix memory leak in case we fail to add an IB device 2019-02-11 15:32:29 -07:00
ib_rep.h RDMA/mlx5: Update SPDX tags to show proper license 2018-06-05 14:04:20 -06:00
ib_virt.c IB/mlx5: Restore IB guid/policy for virtual functions 2017-07-24 10:34:28 -04:00
Kconfig IB/{core,uverbs}: Move ib_umem_xxx functions from ib_core to ib_uverbs 2019-01-10 17:06:44 -07:00
mad.c RDMA/mad: Reduce MAD scope to mlx5_ib only 2019-01-15 10:02:29 +02:00
main.c RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
Makefile net/mlx5: Move SRQ functions to RDMA part 2018-12-04 09:14:30 +02:00
mem.c RDMA/mlx5: Embed into the code flow the ODP config option 2019-01-08 16:41:38 -07:00
mlx5_ib.h IB/mlx5: Let read user wqe also from SRQ buffer 2019-02-04 14:34:07 -07:00
mr.c Merge branch 'devx-async' into k.o/for-next 2019-01-29 13:49:31 -07:00
odp.c Linux 5.0-rc5 2019-02-04 14:53:42 -07:00
qp.c IB/mlx5: Simplify WQE count power of two check 2019-02-07 13:14:55 -07:00
srq_cmd.c IB/mlx5: Fix the locking of SRQ objects in ODP events 2019-02-04 14:34:06 -07:00
srq.c IB/{core,hw}: Have ib_umem_get extract the ib_ucontext from ib_udata 2019-01-10 17:07:45 -07:00
srq.h IB/mlx5: Fix the locking of SRQ objects in ODP events 2019-02-04 14:34:06 -07:00