From owner-svn-src-all@FreeBSD.ORG Thu Jun 23 10:33:54 2011 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FE75106564A for ; Thu, 23 Jun 2011 10:33:54 +0000 (UTC) (envelope-from vadim@nuclight.avtf.net) Received: from nuclight.avtf.net (nuclight.avtf.net [82.117.70.99]) by mx1.freebsd.org (Postfix) with ESMTP id 397EE8FC1B for ; Thu, 23 Jun 2011 10:33:52 +0000 (UTC) Received: from kernblitz.nuclight.avtf.net (vadim@localhost [127.0.0.1]) by nuclight.avtf.net (8.14.4/8.14.4) with ESMTP id p5NAXkn4098189; Thu, 23 Jun 2011 17:33:46 +0700 (NOVST) (envelope-from vadim@kernblitz.nuclight.avtf.net) Received: (from vadim@localhost) by kernblitz.nuclight.avtf.net (8.14.4/8.14.4/Submit) id p5NAXjDd098186; Thu, 23 Jun 2011 17:33:45 +0700 (NOVST) (envelope-from vadim) Message-Id: <201106231033.p5NAXjDd098186@kernblitz.nuclight.avtf.net> To: Gleb Smirnoff From: Vadim Goncharov In-Reply-To: =?UTF-8?Q?=3C201106230942=2Ep5N9ggYc092197=5F=5F43508=2E856?= =?UTF-8?Q?7821824=241308822179=24gmane=24org=40svn=2Efreebsd=2Eorg=3E?= References: <201106230942.p5N9ggYc092197__43508.8567821824$1308822179$gmane$org@svn.freebsd.org> X-Comment-To: Gleb Smirnoff Date: Thu, 23 Jun 2011 17:33:45 +0700 User-Agent: slrn/0.9.9p1 (FreeBSD) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: svn-src-all@FreeBSD.org Subject: Re: svn commit: r223469 - head/sys/netgraph X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vadim_nuclight@mail.ru 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: Thu, 23 Jun 2011 10:33:54 -0000 Hi Gleb Smirnoff! On Thu, 23 Jun 2011 09:42:42 +0000 (UTC); Gleb Smirnoff wrote: > Log: > Be consistent with r160968: keep autoSrcAddr flag untouched when > node receives NGM_SHUTDOWN. > > Submitted by: pluknet > Modified: > head/sys/netgraph/ng_ether.c > Modified: head/sys/netgraph/ng_ether.c > ============================================================================== > --- head/sys/netgraph/ng_ether.c Thu Jun 23 09:40:46 2011 (r223468) > +++ head/sys/netgraph/ng_ether.c Thu Jun 23 09:42:41 2011 (r223469) > @@ -718,7 +718,6 @@ ng_ether_shutdown(node_p node) > (void)ifpromisc(priv->ifp, 0); > priv->promisc = 0; > } > - priv->autoSrcAddr = 1; /* reset auto-src-addr flag */ > NG_NODE_REVIVE(node); /* Signal ng_rmnode we are persisant */ Then manual page must also be updated as this was documented behaviour in the SHUTDOWN section. -- WBR, Vadim Goncharov. ICQ#166852181 mailto:vadim_nuclight@mail.ru [Moderator of RU.ANTI-ECOLOGY][FreeBSD][http://antigreen.org][LJ:/nuclight]