PERFORCE change 161473 for review

Marko Zec zec at FreeBSD.org
Sat May 2 10:36:28 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=161473

Change 161473 by zec at zec_tpx32 on 2009/05/02 10:35:41

	1st pass / attempt at unbreaking new mcast6 code in
	options VIMAGE builds.

Affected files ...

.. //depot/projects/vimage-commit2/src/sys/netinet6/mld6.c#19 edit

Differences ...

==== //depot/projects/vimage-commit2/src/sys/netinet6/mld6.c#19 (text+ko) ====

@@ -2908,7 +2908,6 @@
 	 * indexes to guard against interface detach, they are
 	 * unique to each VIMAGE and must be retrieved.
 	 */
-	CURVNET_SET(m->m_pkthdr.rcvif->if_vnet); /* XXX Marko revisit! */
 	INIT_VNET_NET(curvnet);
 	INIT_VNET_INET6(curvnet);
 	ifindex = mld_restore_context(m);
@@ -2987,10 +2986,7 @@
 		}
 	}
 out:
-	/*
-	 * We must restore the existing vnet pointer before continuing.
-	 */
-	CURVNET_RESTORE();
+	return;
 }
 
 /*


More information about the p4-projects mailing list