Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jan 2014 13:15:09 +0400
From:      "Alexander V. Chernikov" <melifaro@FreeBSD.org>
To:        Roy Marples <roy@marples.name>, freebsd-net@freebsd.org
Subject:   Re: IPv6: report address flag changes to userland
Message-ID:  <52D6519D.2050400@FreeBSD.org>
In-Reply-To: <b9c07882a45edb3ad04b9f9ad092b268@mail.marples.name>
References:  <b9c07882a45edb3ad04b9f9ad092b268@mail.marples.name>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13.01.2014 19:36, Roy Marples wrote:
> Hi List
Hello!
>
> There is zero point as I see it in announcing newly added tentative 
> addresses to userland.
> It's not as if userland can actually use the address at this point.
> However, there is immense benefit in announcing address flag changes, 
> such as removal of tentative, or addition of the other flags.
This looks very reasonable.
>
> The main benefit for this patch is so that dhcpcd(8) listen for when 
> the kernel has completed DAD and has announced the result.
> dhcpcd can then react immediately instead of having to wait for the 
> full time as dictated by the RFC.
This can also help when doing IPv6 netmap forwarding to sync kernel and 
userland records.
>
> The attached patch addresses the above and was cut from FreeBSD-9 - 
> there is a small adjustment needed for -current which is noted in the 
> patch.
> The patch is based on the work I did in NetBSD a few months ago 
> documented here:
> http://netbsd.2816.n7.nabble.com/PATCH-to-only-announce-RTM-NEWADDR-once-IPv6-DAD-completes-tp281110.html 
>
>
> Comments?
I'll do some tests and merge it.
>
> Roy
>
>
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52D6519D.2050400>