Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2009 08:34:56 GMT
From:      Marko Zec <zec@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 167639 for review
Message-ID:  <200908230834.n7N8YuIG029131@repoman.freebsd.org>

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

Change 167639 by zec@zec_tpx32 on 2009/08/23 08:34:24

	Fix vnet leakages on jail -c failures.
	Submitted by:	jamie

Affected files ...

.. //depot/projects/vimage-commit2/src/sys/kern/kern_jail.c#32 edit

Differences ...

==== //depot/projects/vimage-commit2/src/sys/kern/kern_jail.c#32 (text+ko) ====

@@ -2456,7 +2456,7 @@
 		sx_downgrade(&allprison_lock);
 
 #ifdef VIMAGE
-		if (pr->pr_flags & PR_VNET)
+		if (pr->pr_vnet != ppr->pr_vnet)
 			vnet_destroy(pr->pr_vnet);
 #endif
 		if (pr->pr_root != NULL) {



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