summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/cxgbi
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2011-02-16 22:04:37 +0100
committerJames Bottomley <James.Bottomley@suse.de>2011-02-24 18:41:12 +0100
commit289324b0c6007171d67bf1ab0827355ae3374773 (patch)
tree6a6af0500e8acab0455d7b0d2391b0096f94b4f7 /drivers/scsi/cxgbi
parent[SCSI] iscsi_tcp: use iscsi_conn_get_addr_param libiscsi function (diff)
downloadlinux-289324b0c6007171d67bf1ab0827355ae3374773.tar.xz
linux-289324b0c6007171d67bf1ab0827355ae3374773.zip
[SCSI] iscsi class: add callout to get iscsi_endpoint values
For drivers using the ep callbacks the addr and port are attached to the endpoint instead of the conn. This adds a callout to the iscsi_transport to get ep values. It also adds locking around the get param call to make sure that ep_disconnect does not free the LLD's ep interconnect structs from under us (the ep has a refcount so it will not go away but the LLD may have structs from other subsystems that are not allocated in the ep so we need to protect them from getting freed). Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/cxgbi')
0 files changed, 0 insertions, 0 deletions