From owner-svn-src-head@FreeBSD.ORG Sat May 23 16:27:42 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E818E1065673; Sat, 23 May 2009 16:27:42 +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 D5F258FC1D; Sat, 23 May 2009 16:27:42 +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 n4NGRg6n060563; Sat, 23 May 2009 16:27:42 GMT (envelope-from bz@svn.freebsd.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4NGRg44060562; Sat, 23 May 2009 16:27:42 GMT (envelope-from bz@svn.freebsd.org) Message-Id: <200905231627.n4NGRg44060562@svn.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 23 May 2009 16:27:42 +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: r192645 - head/sys/nfsclient X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2009 16:27:43 -0000 Author: bz Date: Sat May 23 16:27:42 2009 New Revision: 192645 URL: http://svn.freebsd.org/changeset/base/192645 Log: While r192615 fixed the former problems, make this file VIMAGE compliant now as well initializing local context variables. Modified: head/sys/nfsclient/bootp_subr.c Modified: head/sys/nfsclient/bootp_subr.c ============================================================================== --- head/sys/nfsclient/bootp_subr.c Sat May 23 16:13:26 2009 (r192644) +++ head/sys/nfsclient/bootp_subr.c Sat May 23 16:27:42 2009 (r192645) @@ -359,6 +359,7 @@ bootpboot_p_tree(struct radix_node *rn) void bootpboot_p_rtlist(void) { + INIT_VNET_NET(curvnet); printf("Routing table:\n"); RADIX_NODE_HEAD_RLOCK(V_rt_tables[0][AF_INET]); /* could sleep XXX */ @@ -383,6 +384,7 @@ bootpboot_p_if(struct ifnet *ifp, struct void bootpboot_p_iflist(void) { + INIT_VNET_NET(curvnet); struct ifnet *ifp; struct ifaddr *ifa; @@ -1592,6 +1594,7 @@ bootpc_decode_reply(struct nfsv3_diskles void bootpc_init(void) { + INIT_VNET_NET(curvnet); struct bootpc_ifcontext *ifctx, *nctx; /* Interface BOOTP contexts */ struct bootpc_globalcontext *gctx; /* Global BOOTP context */ struct ifnet *ifp;