> Do you think it would be a problem if I changed
 > neigh = neigh_lookup(&arp_tbl, &rt->rt_gateway, rt->idev->dev);
 > to
 > neigh = neigh_lookup(&arp_tbl, &rt->rt_dst, rt->idev->dev);

Yes I think it would be a problem, because what if you are trying to
connect to a destination that is behind a router?  (and keep in mind, in
your example, it is perfectly correct to try and connect to 4.5.7.8 if
it happens to be reachable via a router from your RNIC of 192.168.0.1)

 - R.
_______________________________________________
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