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

From: David S. Miller
Date: Thu Nov 27 2003 - 20:05:14 EST


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/