Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 May 2009 10:36:26 GMT
From:      Marko Zec <zec@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 161473 for review
Message-ID:  <200905021036.n42AaQUU030575@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=161473

Change 161473 by zec@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;
 }
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905021036.n42AaQUU030575>