aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb4/cm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/cm.c')
-rw-r--r--drivers/infiniband/hw/cxgb4/cm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index 30ce0a8eca09..8b693c8c25e2 100644
--- a/drivers/infiniband/hw/cxgb4/cm.c
+++ b/drivers/infiniband/hw/cxgb4/cm.c
@@ -1364,7 +1364,7 @@ static int pass_accept_req(struct c4iw_dev *dev, struct sk_buff *skb)
1364 __func__); 1364 __func__);
1365 goto reject; 1365 goto reject;
1366 } 1366 }
1367 dst = &rt->u.dst; 1367 dst = &rt->dst;
1368 if (dst->neighbour->dev->flags & IFF_LOOPBACK) { 1368 if (dst->neighbour->dev->flags & IFF_LOOPBACK) {
1369 pdev = ip_dev_find(&init_net, peer_ip); 1369 pdev = ip_dev_find(&init_net, peer_ip);
1370 BUG_ON(!pdev); 1370 BUG_ON(!pdev);
@@ -1938,7 +1938,7 @@ int c4iw_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param)
1938 err = -EHOSTUNREACH; 1938 err = -EHOSTUNREACH;
1939 goto fail3; 1939 goto fail3;
1940 } 1940 }
1941 ep->dst = &rt->u.dst; 1941 ep->dst = &rt->dst;
1942 1942
1943 /* get a l2t entry */ 1943 /* get a l2t entry */
1944 if (ep->dst->neighbour->dev->flags & IFF_LOOPBACK) { 1944 if (ep->dst->neighbour->dev->flags & IFF_LOOPBACK) {