PERFORCE change 124692 for review

Marko Zec zec at FreeBSD.org
Sat Aug 4 14:14:54 PDT 2007


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

Change 124692 by zec at zec_tpx32 on 2007/08/04 21:14:49

	Unbreak syncache_timer() operation in options VIMAGE build.

Affected files ...

.. //depot/projects/vimage/src/sys/netinet/tcp_syncache.c#17 edit

Differences ...

==== //depot/projects/vimage/src/sys/netinet/tcp_syncache.c#17 (text+ko) ====

@@ -348,6 +348,7 @@
 	struct syncache *sc, *nsc;
 	int tick = ticks;
 	char *s;
+	CURVNET_SET(sch->sch_vnet);
 	INIT_VNET_INET(sch->sch_vnet);
 
 	/* NB: syncache_head has already been locked by the callout. */
@@ -393,6 +394,7 @@
 	if (!TAILQ_EMPTY(&(sch)->sch_bucket))
 		callout_reset(&(sch)->sch_timer, (sch)->sch_nextc - tick,
 			syncache_timer, (void *)(sch));
+	CURVNET_RESTORE();
 }
 
 /*


More information about the p4-projects mailing list