diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-02 22:35:31 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-05 02:29:40 -0700 |
commit | 534cb283efef9fdbd9f70f4615054d26aa444dd6 (patch) | |
tree | e044ce1397f698d107282ae035fb0d30944b86c3 /drivers/scsi/cxgbi | |
parent | 1d248b1cf4e09dbec8cef5f7fbeda5874248bd09 (diff) | |
download | talos-op-linux-534cb283efef9fdbd9f70f4615054d26aa444dd6.tar.gz talos-op-linux-534cb283efef9fdbd9f70f4615054d26aa444dd6.zip |
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')
-rw-r--r-- | drivers/scsi/cxgbi/cxgb3i/cxgb3i.c | 3 |
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; |