From owner-svn-src-all@FreeBSD.ORG Sun Jan 19 17:34:06 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DD912784; Sun, 19 Jan 2014 17:34:06 +0000 (UTC) Received: from mx1.sbone.de (bird.sbone.de [46.4.1.90]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8DB6B1DEE; Sun, 19 Jan 2014 17:34:06 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 1B99E25D3A6D; Sun, 19 Jan 2014 17:33:57 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id EDDCBC22BFA; Sun, 19 Jan 2014 17:33:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id bc4cCRHgIzkG; Sun, 19 Jan 2014 17:33:54 +0000 (UTC) Received: from [IPv6:fde9:577b:c1a9:4410:f07d:fc33:1ad4:1bb6] (unknown [IPv6:fde9:577b:c1a9:4410:f07d:fc33:1ad4:1bb6]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 16212C22BEA; Sun, 19 Jan 2014 17:33:51 +0000 (UTC) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: svn commit: r260882 - in head/sys: netinet netinet6 From: "Bjoern A. Zeeb" In-Reply-To: <201401191607.s0JG7SsM084760@svn.freebsd.org> Date: Sun, 19 Jan 2014 17:33:16 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <7C61BA64-179B-492E-A07A-795BFBA43B8F@FreeBSD.org> References: <201401191607.s0JG7SsM084760@svn.freebsd.org> To: "Alexander V. Chernikov" X-Mailer: Apple Mail (2.1827) 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: Sun, 19 Jan 2014 17:34:06 -0000 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 >=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 ????????? ??? ??????? ??????: '??? ??? ???? ?????? ??????? ?? ?? ??????? ??????? ??? ????? ????? ???? ?????? ?? ????? ????', ????????? ?????????, "??? ????? ?? ?????", ?.???