netdev
[Top] [All Lists]

Re: ipv4-mapped ipv4 connect() for UDP broken in test10

To: "YOSHIFUJI Hideaki / _$B5HF#1QL@" <yoshfuji@xxxxxxxxxxxxxx>
Subject: Re: ipv4-mapped ipv4 connect() for UDP broken in test10
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Thu, 27 Nov 2003 17:03:37 -0800
Cc: netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, yoshfuji@xxxxxxxxxxxxxx, felix-kernel@xxxxxxx
In-reply-to: <20031127.211135.09649297.yoshfuji@linux-ipv6.org>
References: <20031126081745.GA31415@codeblau.de> <20031126.190407.102714104.yoshfuji@linux-ipv6.org> <20031127.211135.09649297.yoshfuji@linux-ipv6.org>
Sender: netdev-bounce@xxxxxxxxxxx
On Thu, 27 Nov 2003 21:11:35 +0900 (JST)
YOSHIFUJI Hideaki / _$B5HF#1QL@ <yoshfuji@xxxxxxxxxxxxxx> wrote:

> In article <20031126.190407.102714104.yoshfuji@xxxxxxxxxxxxxx> (at Wed, 26 
> Nov 2003 19:04:07 +0900 (JST)), YOSHIFUJI Hideaki / _$B5HF#1QL@ 
> <yoshfuji@xxxxxxxxxxxxxx> 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.

<Prev in Thread] Current Thread [Next in Thread>