From: Kalderon, Michal Date: Mon, 5 Mar 2018 08:50:08 +0000 (+0200) Subject: RDMA/qedr: Fix ipv6 destination address resolution X-Git-Tag: v4.19~1375^2~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=11052696fdbf673d422e92e6149eaad78ae0c252;p=platform%2Fkernel%2Flinux-rpi.git RDMA/qedr: Fix ipv6 destination address resolution The wrong parameter was passed to dst_neigh_lookup Signed-off-by: Michal Kalderon Signed-off-by: Ariel Elior Signed-off-by: Jason Gunthorpe --- diff --git a/drivers/infiniband/hw/qedr/qedr_iw_cm.c b/drivers/infiniband/hw/qedr/qedr_iw_cm.c index 478b731..1fc9715 100644 --- a/drivers/infiniband/hw/qedr/qedr_iw_cm.c +++ b/drivers/infiniband/hw/qedr/qedr_iw_cm.c @@ -458,8 +458,7 @@ qedr_addr6_resolve(struct qedr_dev *dev, } return -EINVAL; } - neigh = dst_neigh_lookup(dst, &dst_in); - + neigh = dst_neigh_lookup(dst, &fl6.daddr); if (neigh) { rcu_read_lock(); if (neigh->nud_state & NUD_VALID) {