kernel-fxtec-pro1x/drivers/scsi/cxgbi
Varun Prakash decbe8411b scsi: libcxgbi: fix NULL pointer dereference in cxgbi_device_destroy()
[ Upstream commit 71482fde704efdd8c3abe0faf34d922c61e8d76b ]

If cxgb4i_ddp_init() fails then cdev->cdev2ppm will be NULL, so add a check
for NULL pointer before dereferencing it.

Link: https://lore.kernel.org/r/1576676731-3068-1-git-send-email-varun@chelsio.com
Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-17 19:47:14 +01:00
..
cxgb3i scsi: cxgb4i: add wait_for_completion() 2019-02-27 10:08:55 +01:00
cxgb4i scsi: cxgb4i: add wait_for_completion() 2019-02-27 10:08:55 +01:00
Kconfig
libcxgbi.c scsi: libcxgbi: fix NULL pointer dereference in cxgbi_device_destroy() 2020-01-17 19:47:14 +01:00
libcxgbi.h scsi: cxgb4i: add wait_for_completion() 2019-02-27 10:08:55 +01:00
Makefile cxgb4i,libcxgbi: add iSCSI DDP support 2016-07-25 10:31:08 -07:00