linux/drivers/infiniband/sw/siw
Krishnamraju Eraparaju e17fa5c95e RDMA/siw: free siw_base_qp in kref release routine
As siw_free_qp() is the last routine to access 'siw_base_qp' structure,
freeing this structure early in siw_destroy_qp() could cause
touch-after-free issue.
Hence, moved kfree(siw_base_qp) from siw_destroy_qp() to siw_free_qp().

Fixes: 303ae1cdfd ("rdma/siw: application interface")
Signed-off-by: Krishnamraju Eraparaju <krishna2@chelsio.com>
Link: https://lore.kernel.org/r/20191007104229.29412-1-krishna2@chelsio.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
2019-10-18 14:49:01 -04:00
..
iwarp.h
Kconfig RDMA/siw: Change CQ flags from 64->32 bits 2019-08-13 12:22:06 -04:00
Makefile
siw_cm.c RDMA/siw: Fix IPv6 addr_list locking 2019-08-28 10:29:19 -04:00
siw_cm.h
siw_cq.c RDMA/siw: Fix 64/32bit pointer inconsistency 2019-08-23 12:08:27 -04:00
siw_main.c RDMA/siw: Fix a memory leak in siw_init_cpulist() 2019-08-12 10:59:36 -04:00
siw_mem.c mm/gup: add make_dirty arg to put_user_pages_dirty_lock() 2019-09-24 15:54:08 -07:00
siw_mem.h RDMA/siw: Fix 64/32bit pointer inconsistency 2019-08-23 12:08:27 -04:00
siw_qp_rx.c RDMA/siw: Fix 64/32bit pointer inconsistency 2019-08-23 12:08:27 -04:00
siw_qp_tx.c RDMA/siw: Relax from kmap_atomic() use in TX path 2019-09-13 16:59:55 -03:00
siw_qp.c RDMA/siw: free siw_base_qp in kref release routine 2019-10-18 14:49:01 -04:00
siw_verbs.c RDMA/siw: free siw_base_qp in kref release routine 2019-10-18 14:49:01 -04:00
siw_verbs.h
siw.h RDMA/siw: Fix 64/32bit pointer inconsistency 2019-08-23 12:08:27 -04:00