linux_dsm_epyc7002/drivers/infiniband/hw/cxgb4
Nirranjan Kirubaharan f70baa7ee3 iw_cxgb4: Fix qpid leak
Add await in destroy_qp() so that all references to qp are dereferenced
and qp is freed in destroy_qp() itself.  This ensures freeing of all QPs
before invocation of dealloc_ucontext(), which prevents loss of in use
qpids stored in the ucontext.

Signed-off-by: Nirranjan Kirubaharan <nirranjan@chelsio.com>
Reviewed-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-05-27 14:58:24 -03:00
..
cm.c RDMA/cxgb4: Use sizeof() notation 2019-05-27 14:32:17 -03:00
cq.c RDMA/cxgb4: Don't expose DMA addresses 2019-05-27 14:32:17 -03:00
device.c RDMA/cxgb4: Use sizeof() notation 2019-05-27 14:32:17 -03:00
ev.c cxgb4: Convert qpidr to XArray 2019-03-25 15:39:18 -03:00
id_table.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
iw_cxgb4.h iw_cxgb4: Fix qpid leak 2019-05-27 14:58:24 -03:00
Kconfig iw_cxgb4: add INFINIBAND_ADDR_TRANS dependency 2018-06-04 09:35:24 -06:00
Makefile infiniband: prefix header search paths with $(srctree)/ 2019-01-25 15:28:50 -07:00
mem.c RDMA/cxgb4: Use sizeof() notation 2019-05-27 14:32:17 -03:00
provider.c RDMA/cxgb4: Use sizeof() notation 2019-05-27 14:32:17 -03:00
qp.c iw_cxgb4: Fix qpid leak 2019-05-27 14:58:24 -03:00
resource.c RDMA/cxgb4: Use sizeof() notation 2019-05-27 14:32:17 -03:00
restrack.c netlink: make nla_nest_start() add NLA_F_NESTED flag 2019-04-27 17:03:44 -04:00
t4.h iw_cxgb4: complete the cached SRQ buffers 2019-02-08 17:02:05 -07:00
t4fw_ri_api.h iw_cxgb4: Support FW write completion WR 2018-08-02 20:16:02 -06:00