dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/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
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
bnx2i.h [SCSI] bnx2i: Added iSCSI text pdu support for iSCSI offload 2011-02-24 12:40:05 -05: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