Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Aug 2007 21:14:54 GMT
From:      Marko Zec <zec@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 124692 for review
Message-ID:  <200708042114.l74LEsGG073417@repoman.freebsd.org>

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

Change 124692 by zec@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();
 }
 
 /*



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