From owner-svn-src-all@FreeBSD.ORG Mon May 18 17:48:46 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D88FC106564A; Mon, 18 May 2009 17:48:46 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C74618FC0A; Mon, 18 May 2009 17:48:46 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4IHmkmL069973; Mon, 18 May 2009 17:48:46 GMT (envelope-from bz@svn.freebsd.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4IHmkpM069972; Mon, 18 May 2009 17:48:46 GMT (envelope-from bz@svn.freebsd.org) Message-Id: <200905181748.n4IHmkpM069972@svn.freebsd.org> From: "Bjoern A. Zeeb" Date: Mon, 18 May 2009 17:48:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r192318 - head/sys/netinet6 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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, 18 May 2009 17:48:47 -0000 Author: bz Date: Mon May 18 17:48:46 2009 New Revision: 192318 URL: http://svn.freebsd.org/changeset/base/192318 Log: Add two missing INIT_VNET_INET6(curvnet) to make VIMAGE kernels happier. Modified: head/sys/netinet6/ip6_mroute.c Modified: head/sys/netinet6/ip6_mroute.c ============================================================================== --- head/sys/netinet6/ip6_mroute.c Mon May 18 17:42:25 2009 (r192317) +++ head/sys/netinet6/ip6_mroute.c Mon May 18 17:48:46 2009 (r192318) @@ -363,6 +363,7 @@ pim6_init(void) int X_ip6_mrouter_set(struct socket *so, struct sockopt *sopt) { + INIT_VNET_INET6(curvnet); int error = 0; int optval; struct mif6ctl mifc; @@ -1715,6 +1716,7 @@ phyint_send(struct ip6_hdr *ip6, struct static int register_send(struct ip6_hdr *ip6, struct mif6 *mif, struct mbuf *m) { + INIT_VNET_INET6(curvnet); struct mbuf *mm; int i, len = m->m_pkthdr.len; static struct sockaddr_in6 sin6 = { sizeof(sin6), AF_INET6 }; @@ -2036,6 +2038,7 @@ pim6_input(struct mbuf **mp, int *offp, static int ip6_mroute_modevent(module_t mod, int type, void *unused) { + INIT_VNET_INET6(curvnet); switch (type) { case MOD_LOAD: