From owner-svn-src-all@FreeBSD.ORG Mon Jan 27 11:23:55 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B69D521F; Mon, 27 Jan 2014 11:23:55 +0000 (UTC) Received: from mail.ipfw.ru (mail.ipfw.ru [IPv6:2a01:4f8:120:6141::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 766721E64; Mon, 27 Jan 2014 11:23:55 +0000 (UTC) Received: from [2a02:6b8:0:401:222:4dff:fe50:cd2f] (helo=ptichko.yndx.net) by mail.ipfw.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1W7gS3-000IZp-3J; Mon, 27 Jan 2014 11:17:47 +0400 Message-ID: <52E640F8.8000401@FreeBSD.org> Date: Mon, 27 Jan 2014 15:20:24 +0400 From: "Alexander V. Chernikov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: "Bjoern A. Zeeb" Subject: Re: svn commit: r260882 - in head/sys: netinet netinet6 References: <201401191607.s0JG7SsM084760@svn.freebsd.org> <7C61BA64-179B-492E-A07A-795BFBA43B8F@FreeBSD.org> In-Reply-To: <7C61BA64-179B-492E-A07A-795BFBA43B8F@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jan 2014 11:23:55 -0000 On 19.01.2014 21:33, Bjoern A. Zeeb wrote: > On 19 Jan 2014, at 16:07 , Alexander V. Chernikov wrote: > >> Author: melifaro >> Date: Sun Jan 19 16:07:27 2014 >> New Revision: 260882 >> URL: http://svnweb.freebsd.org/changeset/base/260882 >> >> 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. Yes, true. s/broadcast/multicast/ ? Anyway, I'm happy with any other naming. > >> 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. >> >> 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 > — > Bjoern A. Zeeb ????????? ??? ??????? ??????: > '??? ??? ???? ?????? ??????? ?? ?? ??????? ??????? ??? ????? ????? ???? > ?????? ?? ????? ????', ????????? ?????????, "??? ????? ?? ?????", ?.??? > >