Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6
[linux-drm-fsl-dcu.git] / drivers / infiniband / hw / cxgb4 / cm.c
index 855ee44fdb52de5a23b847a313616b63120a8b9d..8c9b483a0d93064dc7ae7dc55ea511fcd98c1532 100644 (file)
@@ -1365,7 +1365,7 @@ static int pass_accept_req(struct c4iw_dev *dev, struct sk_buff *skb)
                       __func__);
                goto reject;
        }
-       dst = &rt->u.dst;
+       dst = &rt->dst;
        if (dst->neighbour->dev->flags & IFF_LOOPBACK) {
                pdev = ip_dev_find(&init_net, peer_ip);
                BUG_ON(!pdev);
@@ -1939,7 +1939,7 @@ int c4iw_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param)
                err = -EHOSTUNREACH;
                goto fail3;
        }
-       ep->dst = &rt->u.dst;
+       ep->dst = &rt->dst;
 
        /* get a l2t entry */
        if (ep->dst->neighbour->dev->flags & IFF_LOOPBACK) {