tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Changing the default subnet route.



On Sun, Dec 14, 2008 at 12:06:58AM +0000, Roy Marples wrote:
> On Sun, 2008-12-07 at 18:24 +0000, Roy Marples wrote:
> > On Fri, 2008-12-05 at 17:04 +0000, Christos Zoulas wrote:
> > > Send-pr please.
> > 
> > Filed as kern/40133.
> > 
> > I think the issue is because IFA_ROUTE isn't moved correctly as I've
> > looked closely at address addition/deletion but not yet route changing.
> 
> Well, I was wrong about the cause :)
> The error is that in_addprefix assumes that only it will add subnet
> routes. So any manually added routes will cause this error. Attached is
> a patch to fix this (in.diff).
> 
> Also, I think that for deleted routes, we should scrub the IFA_ROUTE
> flag from the ia, and preserve it when when changing routes. This has no
> bearing on the issue at hand, but does make sense imo.

It seems that the latter patch alone should have fixed the problem.
Why didn't it?

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933


Home | Main Index | Thread Index | Old Index