> +     ipoib_dbg(priv, "Path %pI6: LID changed from 0x%04x to 0x%04x\n",
> +               path->pathrec.dgid.raw, be16_to_cpu(path->pathrec.dlid), lid);
> +
> +     list_del(&path->list);
> +     rb_erase(&path->rb_node, &priv->path_tree);
> +
> +     spin_unlock_irqrestore(&priv->lock, flags);
> +     netif_tx_unlock_bh(dev);
> +
> +     path_free(dev, path);
> +}
> +
Instead of deleting the path you could restart the query with 
        if (!path->query)
                path_rec_start(dev, path);

It's should be the same as in unicast_arp_send() when path->valid == 0
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to