[openib-general][PATCH] local device search with source addresswildcard

Sean Hefty mshefty at ichips.intel.com
Fri Nov 4 10:32:08 PST 2005


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



More information about the general mailing list