linux_dsm_epyc7002/drivers/infiniband/sw/siw
Bernard Metzler 9b44007801 RDMA/siw: Fix potential NULL de-ref
In siw_connect() we have an error flow where there is no valid qp
pointer.  Make sure we don't try to de-ref in that situation.

Fixes: 6c52fdc244 ("rdma/siw: connection management")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Bernard Metzler <bmt@zurich.ibm.com>
Link: https://lore.kernel.org/r/20190819140257.19319-1-bmt@zurich.ibm.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
2019-08-20 13:44:44 -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 potential NULL de-ref 2019-08-20 13:44:44 -04:00
siw_cm.h
siw_cq.c
siw_main.c RDMA/siw: Fix a memory leak in siw_init_cpulist() 2019-08-12 10:59:36 -04:00
siw_mem.c
siw_mem.h
siw_qp_rx.c
siw_qp_tx.c
siw_qp.c RDMA/siw: Change CQ flags from 64->32 bits 2019-08-13 12:22:06 -04:00
siw_verbs.c RDMA/siw: Change CQ flags from 64->32 bits 2019-08-13 12:22:06 -04:00
siw_verbs.h
siw.h RDMA/siw: Change CQ flags from 64->32 bits 2019-08-13 12:22:06 -04:00