From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David S. Miller" Subject: Re: ipv4-mapped ipv4 connect() for UDP broken in test10 Date: Thu, 27 Nov 2003 17:03:37 -0800 Sender: netdev-bounce@oss.sgi.com Message-ID: <20031127170337.7210df24.davem@redhat.com> References: <20031126081745.GA31415@codeblau.de> <20031126.190407.102714104.yoshfuji@linux-ipv6.org> <20031127.211135.09649297.yoshfuji@linux-ipv6.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@oss.sgi.com, linux-kernel@vger.kernel.org, yoshfuji@linux-ipv6.org, felix-kernel@fefe.de Return-path: To: "YOSHIFUJI Hideaki / _$B5HF#1QL@" In-Reply-To: <20031127.211135.09649297.yoshfuji@linux-ipv6.org> Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org On Thu, 27 Nov 2003 21:11:35 +0900 (JST) YOSHIFUJI Hideaki / _$B5HF#1QL@ wrote: > In article <20031126.190407.102714104.yoshfuji@linux-ipv6.org> (at Wed, 26 Nov 2003 19:04:07 +0900 (JST)), YOSHIFUJI Hideaki / _$B5HF#1QL@ says: > > I'm sure the original code has a bug. > I do think that it is related to your report > (but I don't have time to confirm it.) > > s6_addr[3] should be s6_addr32[3] because the code is intended to extract > IPv4 address from the IPv4-mapped address (::ffff:0.0.0.0/96) > to convert sockaddr_in6{} to sockaddr_in{}. I know, I know. I did apply your patch already, sorry for not telling you this. Thanks.