Date: Thu, 23 Jun 2011 17:33:45 +0700 From: Vadim Goncharov <vadim_nuclight@mail.ru> To: Gleb Smirnoff <glebius@FreeBSD.org> Cc: svn-src-all@FreeBSD.org Subject: Re: svn commit: r223469 - head/sys/netgraph Message-ID: <201106231033.p5NAXjDd098186@kernblitz.nuclight.avtf.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Gleb Smirnoff! On Thu, 23 Jun 2011 09:42:42 +0000 (UTC); Gleb Smirnoff <glebius@FreeBSD.org> 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]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106231033.p5NAXjDd098186>