summaryrefslogtreecommitdiff
path: root/drivers/scsi/cxgbi/cxgb3i
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-03 09:35:31 +0400
committerDavid S. Miller <davem@davemloft.net>2012-07-05 13:29:40 +0400
commit534cb283efef9fdbd9f70f4615054d26aa444dd6 (patch)
treee044ce1397f698d107282ae035fb0d30944b86c3 /drivers/scsi/cxgbi/cxgb3i
parent1d248b1cf4e09dbec8cef5f7fbeda5874248bd09 (diff)
downloadlinux-534cb283efef9fdbd9f70f4615054d26aa444dd6.tar.xz
cxgb3: Convert t3_l2t_get() over to dst_neigh_lookup().
This means passing in a suitable destination address. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/cxgbi/cxgb3i')
-rw-r--r--drivers/scsi/cxgbi/cxgb3i/cxgb3i.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c b/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c
index 36739da8bc15..49692a1ac44a 100644
--- a/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c
+++ b/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c
@@ -966,7 +966,8 @@ static int init_act_open(struct cxgbi_sock *csk)
csk->saddr.sin_addr.s_addr = chba->ipv4addr;
csk->rss_qid = 0;
- csk->l2t = t3_l2t_get(t3dev, dst, ndev);
+ csk->l2t = t3_l2t_get(t3dev, dst, ndev,
+ &csk->daddr.sin_addr.s_addr);
if (!csk->l2t) {
pr_err("NO l2t available.\n");
return -EINVAL;