PERFORCE change 150135 for review

Marko Zec zec at FreeBSD.org
Fri Sep 19 18:57:52 UTC 2008


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

Change 150135 by zec at 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;}


More information about the p4-projects mailing list