summaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2011-02-16 22:04:39 +0100
committerJames Bottomley <James.Bottomley@suse.de>2011-02-24 18:41:20 +0100
commitd8585bcd7da071f4278710f1c39e18dfe7cb0280 (patch)
treeaf56e750b3c09be817e9238f4507a4e59e4b0fc8 /fs/internal.h
parent[SCSI] cxgbi: convert to use iscsi_conn_get_addr_param (diff)
downloadlinux-d8585bcd7da071f4278710f1c39e18dfe7cb0280.tar.xz
linux-d8585bcd7da071f4278710f1c39e18dfe7cb0280.zip
[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>
Diffstat (limited to 'fs/internal.h')
0 files changed, 0 insertions, 0 deletions