linux_dsm_epyc7002/drivers/infiniband/sw
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
..
rdmavt IB/rdmavt: Fix variable shadowing issue in rvt_create_cq 2019-07-10 13:56:35 -03:00
rxe RDMA: Introduce ib_port_phys_state enum 2019-08-12 10:18:52 -04:00
siw RDMA/siw: free siw_base_qp in kref release routine 2019-10-18 14:49:01 -04:00
Makefile rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00