Steve Wise wrote:
The intent of ip_resolve_local() is to check if a given destination address is on the local system. If it is and no source address is specified, then the source address is set to the same address as the destination.

This doesn't sound correct to me. The src ip address is supposed to be the local ip address to be used for establishing the connection. If you set it to the destination address, then you'd end up passing that address to the peer in the private data, and that is incorrect...

If ip_resolve_local() succeeds, then the destination address is a local address.

- Sean
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

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

Reply via email to