2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/drivers/scsi/bnx2i
Mike Christie d8585bcd7d [SCSI] bnx2i: fix null ptr ref in conn get param
bnx2i has some checks to try and make sure the ep
is not destroyed while the addr/port is getting
read. However, if after this check:

if (!(bnx2i_conn && bnx2i_conn->ep && bnx2i_conn->ep->hba))
	goto out;

bnx2i_conn->ep is cleared by ep_disconnect then we will
oops.

This patches fixes the problem by having the driver
use the get_ep_param callback instead of get_conn_param.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2011-02-24 12:41:20 -05:00
..
57xx_iscsi_constants.h [SCSI] bnx2i: Updated copyright and maintainer info 2010-12-21 12:24:15 -06:00
57xx_iscsi_hsi.h [SCSI] bnx2i: Updated copyright and maintainer info 2010-12-21 12:24:15 -06:00
bnx2i_hwi.c [SCSI] bnx2i: Added iSCSI text pdu support for iSCSI offload 2011-02-24 12:40:05 -05:00
bnx2i_init.c [SCSI] bnx2i: Updated to version 2.6.2.3 2011-02-24 12:40:26 -05:00
bnx2i_iscsi.c [SCSI] bnx2i: fix null ptr ref in conn get param 2011-02-24 12:41:20 -05:00
bnx2i_sysfs.c [SCSI] bnx2i: Updated copyright and maintainer info 2010-12-21 12:24:15 -06:00
bnx2i.h [SCSI] bnx2i: Added iSCSI text pdu support for iSCSI offload 2011-02-24 12:40:05 -05:00
Kconfig scsi: fix bnx2i build errors 2010-08-11 08:59:01 -07:00
Makefile [SCSI] bnx2i: Add bnx2i iSCSI driver. 2009-06-09 10:22:45 -05:00