On Tue, Feb 13, 2007 at 08:27:59AM +0900, YOSHIFUJI Hideaki / 吉藤英明 wrote: > In article <[EMAIL PROTECTED]> (at Thu, 8 Feb 2007 08:07:15 -0500), Neil > Horman <[EMAIL PROTECTED]> says: > > > > I still have a question. Now, who will install the kernel route for > > > the incoming packet? Can we get packet for our unicast address during > > > optimistic DAD period? > > > > > Not sure what you're getting at here. RFC 4429 makes no distinction between > > optimistic and non-optimistic packets for recevied frames, so routes for > > received packets will be added by the same code that does it currently > > (which I > > admittedly haven't looked into to closely). Packets received for our > > unicast > > address (even if it is optimistic) are handled just as any other packet is > > (same > > as it is for TENTATIVE addresses, as I understand it). > > I think it is clear. > > In tentative state, we do not receive any packet. > After finishind DAD process, we install kernel route for that address > in net/ipv6/addrconf.c:__ipv6_ifa_notify(), and we start receiving > packet for that address. > > On the other hand, optimistic addresses are like in deprecated state. > So, we should be able to receive frames for those addresses. > I'm sorry, you're right, it is clear now. I hadn't considered the need for a route to receive frames, and the point at which we insert it. I'm puting together a new patch for this right now and will post it as soon as I've built and started testing it.
Thanks & Regards Neil > --yoshfuji > - > To unsubscribe from this list: send the line "unsubscribe netdev" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html