PERFORCE change 126259 for review

Marko Zec zec at FreeBSD.org
Mon Sep 10 02:56:30 PDT 2007


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

Change 126259 by zec at zec_tca51 on 2007/09/10 09:56:25

	Fix for nd6_llinfo_timer() where INIT_VNET_INET6(curvnet)
	was attempted before curvnet was set.

Affected files ...

.. //depot/projects/vimage/src/sys/netinet6/nd6.c#22 edit

Differences ...

==== //depot/projects/vimage/src/sys/netinet6/nd6.c#22 (text+ko) ====

@@ -462,7 +462,6 @@
 static void
 nd6_llinfo_timer(void *arg)
 {
-	INIT_VNET_INET6(curvnet);
 	struct llinfo_nd6 *ln;
 	struct rtentry *rt;
 	struct in6_addr *dst;
@@ -489,6 +488,7 @@
 	ndi = ND_IFINFO(ifp);
 
 	CURVNET_SET(ifp->if_vnet);
+	INIT_VNET_INET6(curvnet);
 
 	/* sanity check */
 	if (rt->rt_llinfo && (struct llinfo_nd6 *)rt->rt_llinfo != ln)


More information about the p4-projects mailing list