[SCSI] be2iscsi: fix null ptr ref in conn get param
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 16 Feb 2011 21:04:41 +0000 (15:04 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 24 Feb 2011 17:41:26 +0000 (12:41 -0500)
commitc7f7fd5b7ea114e0f85fc4f2a853f6564410588d
tree2e295b156c37a8d6ec6254ca6a1fed3db4b50118
parent7c53c6f89d7a6487986c51cd73ae9a9be338a8f4
[SCSI] be2iscsi: fix null ptr ref in conn get param

The ep_disconnect function could be freeing the ep
while beiscsi_conn_get_param is running. This has
the driver use the get ep param callback instead
of the get conn param to fix this.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/be2iscsi/be_iscsi.c
drivers/scsi/be2iscsi/be_iscsi.h
drivers/scsi/be2iscsi/be_main.c