Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2008 18:57:52 GMT
From:      Marko Zec <zec@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 150135 for review
Message-ID:  <200809191857.m8JIvqhd007401@repoman.freebsd.org>

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

Change 150135 by zec@zec_tpx32 on 2008/09/19 18:57:43

	Drop in a few missing CURVNET_SET() / CURVNET_RESTORE() lines.

Affected files ...

.. //depot/projects/vimage-commit2/src/sys/netinet6/nd6.c#12 edit

Differences ...

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

@@ -527,6 +527,7 @@
 		}
 		break;
 	}
+	CURVNET_RESTORE();
 }
 
 
@@ -536,6 +537,7 @@
 void
 nd6_timer(void *arg)
 {
+	CURVNET_SET_QUIET((struct vnet *) arg);
 	INIT_VNET_INET6((struct vnet *) arg);
 	int s;
 	struct nd_defrouter *dr;
@@ -656,6 +658,7 @@
 			pr = pr->ndpr_next;
 	}
 	splx(s);
+	CURVNET_RESTORE();
 }
 
 /*
@@ -1925,6 +1928,7 @@
 		}
 	}
 	IFNET_RUNLOCK();
+	CURVNET_RESTORE();
 }
 
 #define senderr(e) { error = (e); goto bad;}



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