>@@ -393,7 +393,7 @@ static int addr_resolve_local(struct sockaddr *src_in, > > for_each_netdev(&init_net, dev) > if (ipv6_chk_addr(&init_net, >- &((struct sockaddr_in6 *) addr)- >>sin6_addr, >+ &((struct sockaddr_in6 *) dst_in)- >>sin6_addr, > dev, 1)) > break; > >I can believe it fixes the case you describe (ie loopback) but >matching the *dest* IP against the local interface's IP list cannot >possibly be right.
The intent is to see if the destination address is local. A source address may not be given. - Sean _______________________________________________ ewg mailing list ewg@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg