[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070430.223351.95061522.davem@davemloft.net>
Date: Mon, 30 Apr 2007 22:33:51 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yoshfuji@...ux-ipv6.org
Cc: netdev@...r.kernel.org
Subject: Re: udp hash change and ipv6
From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@...ux-ipv6.org>
Date: Tue, 01 May 2007 13:07:17 +0900 (JST)
> Because I do not have enough time before depature to Lima
> via LAX, I cannot send a full fix for this, but anyway...
>
> In net-2.6, __udp_lib_get_port() touches inet_sk(sk)->rcv_saddr,
> which will break ipv6, I think. We probably need to add a
> extra function pointer to check is sk has wildcard rcv_saddr
> for the protocol.
>
> static udp4_is_rcvaddr_any(const struct sock *sk)
> {
> return (!inet_sk(sk)->rcv_saddr);
> }
>
> static udp6_is_rcvaddr_any(const struct sock *sk)
> {
> return (ipv6_addr_any(inet_sk(sk)->rcv_saddr));
> }
>
> Or something. We may need to think about ipv6only socket
> option.
I am aware of these issues and will take care of them.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists