tech-net archive

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

Re: IPv6 prefix route lifetime



On Sunday 07 August 2016 00:28:29 Roy Marples wrote:
> On Friday 05 August 2016 01:11:20 Roy Marples wrote:
> > 2) Stop adding the route via nd6_prelist_add (as found in nd6_rtr.c).
> 
> Here is a patch for -current to facilitate this:
> http://www.netbsd.org/~roy/in6_ifa_route.patch
> 
>   *  Stops adding address prefixes added by ioctl to kernel RA prefix lists.
> *  Allows changing prefix length of an existing address due to the above. *
>  Intelligent prefix route management, handled using IFA_ROUTE similar to
> subnets in IPv4.
>   *  End result is less code.
>   *  No need to special case IFF_POINTOPOINT routes.
> 
> The bad news is that it won't apply cleanly to -7 due to the new pserialize
> foo. While I work on a patch for -7, I'd appreciate eyes on this to check
> I've not broken anything. I haven't tested in kernel RA handling, but it
> should be fine still.

Patch for -7
http://www.netbsd.org/~roy/in6_ifa_route-7.patch

Only compile tested at this point.

Roy


Home | Main Index | Thread Index | Old Index