summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_mroute.c
diff options
context:
space:
mode:
authorzec <zec@FreeBSD.org>2009-04-26 22:06:42 +0000
committerzec <zec@FreeBSD.org>2009-04-26 22:06:42 +0000
commit8d976eab5c2cbc080800be588a8572ebec4a7795 (patch)
tree1c2ccb403d29ceb85ca7992b6b96623f561c79db /sys/netinet/ip_mroute.c
parent1e44d091e1be67e4c879788035a2a9161eace942 (diff)
downloadFreeBSD-src-8d976eab5c2cbc080800be588a8572ebec4a7795.zip
FreeBSD-src-8d976eab5c2cbc080800be588a8572ebec4a7795.tar.gz
In preparation for turning on options VIMAGE in next commits,
rearrange / replace / adjust several INIT_VNET_* initializer macros, all of which currently resolve to whitespace. Reviewed by: bz (an older version of the patch) Approved by: julian (mentor)
Diffstat (limited to 'sys/netinet/ip_mroute.c')
-rw-r--r--sys/netinet/ip_mroute.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c
index 476ad20..e6c26fc 100644
--- a/sys/netinet/ip_mroute.c
+++ b/sys/netinet/ip_mroute.c
@@ -1709,6 +1709,7 @@ X_ip_rsvp_force_done(struct socket *so __unused)
static void
X_rsvp_input(struct mbuf *m, int off __unused)
{
+ INIT_VNET_INET(curvnet);
if (!V_rsvp_on)
m_freem(m);
OpenPOWER on IntegriCloud