Date: Sun, 19 Jan 2014 17:33:16 +0000 From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: "Alexander V. Chernikov" <melifaro@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r260882 - in head/sys: netinet netinet6 Message-ID: <7C61BA64-179B-492E-A07A-795BFBA43B8F@FreeBSD.org> In-Reply-To: <201401191607.s0JG7SsM084760@svn.freebsd.org> References: <201401191607.s0JG7SsM084760@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 19 Jan 2014, at 16:07 , Alexander V. Chernikov <melifaro@FreeBSD.org> = wrote: > Author: melifaro > Date: Sun Jan 19 16:07:27 2014 > New Revision: 260882 > URL: http://svnweb.freebsd.org/changeset/base/260882 >=20 > Log: > Further rework netinet6 address handling code: > * Set ia address/mask values BEFORE attaching to address lists. > Inet6 address assignment is not atomic, so the simplest way to > do this atomically is to fill in ia before attach. > * Validate irfa->ia_addr field before use (we permit ANY sockaddr in = old code). > * Do some renamings: > in6_ifinit -> in6_notify_ifa (interaction with other subsystems is = here) > in6_setup_ifa -> in6_broadcast_ifa (LLE/Multicast/DaD code) Broadcast is a not exactly a good name with IPv6. > in6_ifaddloop -> nd6_add_ifa_lle > in6_ifremloop -> nd6_rem_ifa_lle > * Split working with LLE and route announce code for last two. > Add temporary in6_newaddrmsg() function to mimic current rtsock = behaviour. > * Call device SIOCSIFADDR handler IFF we're adding first address. > In IPv4 we have to call it on every address change since ARP record > is installed by arp_ifinit() which is called by given handler. > IPv6 stack, on the opposite is responsible to call nd6_add_ifa_lle() = so > there is no reason to call SIOCSIFADDR often. >=20 > Modified: > head/sys/netinet/ip_carp.c > head/sys/netinet6/in6.c > head/sys/netinet6/in6_var.h > head/sys/netinet6/nd6.c > head/sys/netinet6/nd6.h =97=20 Bjoern A. Zeeb ????????? ??? ??????? ??????: '??? ??? ???? ?????? ??????? ?? ?? ??????? ??????? ??? ????? ????? ???? ?????? ?? ????? ????', ????????? ?????????, "??? ????? ?? ?????", ?.???
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7C61BA64-179B-492E-A07A-795BFBA43B8F>