aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/cxgbi/cxgb4i
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/cxgbi/cxgb4i')
-rw-r--r--drivers/scsi/cxgbi/cxgb4i/cxgb4i.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
index f3a4cd7cf782..ae13c4993aa3 100644
--- a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
+++ b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
@@ -1160,7 +1160,7 @@ static int init_act_open(struct cxgbi_sock *csk)
1160 cxgbi_sock_set_flag(csk, CTPF_HAS_ATID); 1160 cxgbi_sock_set_flag(csk, CTPF_HAS_ATID);
1161 cxgbi_sock_get(csk); 1161 cxgbi_sock_get(csk);
1162 1162
1163 csk->l2t = cxgb4_l2t_get(lldi->l2t, csk->dst->neighbour, ndev, 0); 1163 csk->l2t = cxgb4_l2t_get(lldi->l2t, dst_get_neighbour(csk->dst), ndev, 0);
1164 if (!csk->l2t) { 1164 if (!csk->l2t) {
1165 pr_err("%s, cannot alloc l2t.\n", ndev->name); 1165 pr_err("%s, cannot alloc l2t.\n", ndev->name);
1166 goto rel_resource; 1166 goto rel_resource;