Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2007 09:56:29 GMT
From:      Marko Zec <zec@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 126259 for review
Message-ID:  <200709100956.l8A9uTT0089602@repoman.freebsd.org>

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

Change 126259 by zec@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)



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