diff options
author | bz <bz@FreeBSD.org> | 2009-05-23 16:27:42 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2009-05-23 16:27:42 +0000 |
commit | 3a3f39d482e99c465964231e4daa2bc2bb5d8279 (patch) | |
tree | d27d55672310da71e709ead9f806dd36c8592e56 | |
parent | e446b3e48f60014d843785a627db61914fd2bcd2 (diff) | |
download | FreeBSD-src-3a3f39d482e99c465964231e4daa2bc2bb5d8279.zip FreeBSD-src-3a3f39d482e99c465964231e4daa2bc2bb5d8279.tar.gz |
While r192615 fixed the former problems, make this file VIMAGE
compliant now as well initializing local context variables.
-rw-r--r-- | sys/nfsclient/bootp_subr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/nfsclient/bootp_subr.c b/sys/nfsclient/bootp_subr.c index be6a588..b51b38d 100644 --- a/sys/nfsclient/bootp_subr.c +++ b/sys/nfsclient/bootp_subr.c @@ -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 ifaddr *ifa) void bootpboot_p_iflist(void) { + INIT_VNET_NET(curvnet); struct ifnet *ifp; struct ifaddr *ifa; @@ -1592,6 +1594,7 @@ bootpc_decode_reply(struct nfsv3_diskless *nd, struct bootpc_ifcontext *ifctx, 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; |