Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2007 09:28:10 GMT
From:      Marko Zec <zec@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 128453 for review
Message-ID:  <200711010928.lA19SAmp026764@repoman.freebsd.org>

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

Change 128453 by zec@zec_tpx32 on 2007/11/01 09:27:42

	Set / clear vnet context in ng_callout_trampoline(), which
	is timer driven and as such has no vnet context on entry.

Affected files ...

.. //depot/projects/vimage/src/sys/netgraph/ng_base.c#22 edit

Differences ...

==== //depot/projects/vimage/src/sys/netgraph/ng_base.c#22 (text+ko) ====

@@ -3867,7 +3867,9 @@
 {
 	item_p item = arg;
 
+	CURVNET_SET(NGI_NODE(item)->nd_vnet);
 	ng_snd_item(item, 0);
+	CURVNET_RESTORE();
 }
 
 



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