netdev
[Top] [All Lists]

Re: [PATCH] IPv6: Allow Both IPv6 and IPv4 Sockets on the Same Port

To: davem@xxxxxxxxxx
Subject: Re: [PATCH] IPv6: Allow Both IPv6 and IPv4 Sockets on the Same Port
From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx>
Date: Fri, 04 Oct 2002 00:19:29 +0900 (JST)
Cc: kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, usagi@xxxxxxxxxxxxxx
In-reply-to: <20021003.080408.78030688.davem@redhat.com>
Organization: USAGI Project
References: <20021003.231534.83777766.yoshfuji@linux-ipv6.org> <20021004.000631.28088811.yoshfuji@linux-ipv6.org> <20021003.080408.78030688.davem@redhat.com>
Sender: netdev-bounce@xxxxxxxxxxx
In article <20021003.080408.78030688.davem@xxxxxxxxxx> (at Thu, 03 Oct 2002 
08:04:08 -0700 (PDT)), "David S. Miller" <davem@xxxxxxxxxx> says:

>    I remember that test for daddr is for existing sockets, 
>    not for socket doing XXX_get_port().
>    So, I think I don't need to remove that.
> 
> Where can daddr/dport be non-zero during get_port()?

test for daddr if for sk2.
sk2 is iterator for existing sockets, which can be "connected."
daddr can be non-zero, can't it?
Am I wrong???

--yoshfuji


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