On Thu, Jan 25, 2007 at 05:13:57PM -0500, Vlad Yasevich wrote: > Hi Neil > > > > > I prefer to be more explicit in my order of operation, but that does seem > > more > > consistent with the prevaling style. New patch attached. > > > > Looks good to me. > > One question thought. What causes the stack to send via Default Router > instead > of sending an NS (Section 3.2). I see there is code to prevent sending NS > from > the optimistic address, but I see nothing that would send this packet to a > default > router. This might be buried somewhere in the routing code, but I just can't > see it. > > I'm looking for it at the moment, but I too had assumed that redirecting the outgoing packet to the default router would happen automatically within the routing code as a result of not having a completed neighbor entry available. Since I've modified ndisc_send_ns such that we will never send Neighbor solicitations from an optimistic address, as per section 3.2, we'll never get a completed neightbor entry while the address is optimistic. If thats not the case, I'd welcome some suggestions on how to implement this (given that I'm not overly familiar with the code right now). From what I see, I think the routing code will select the default route when rti6_nexthop is null during route selection, which it will be if the neighbor entry doesn't get resolved. Not 100% sure though. Let me know what you think.
Regards Neil > Thanks > -vlad - 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