]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When "jail -c vnet" request fails, the current code actually creates and
authorzec <zec@FreeBSD.org>
Mon, 24 Aug 2009 10:16:19 +0000 (10:16 +0000)
committerzec <zec@FreeBSD.org>
Mon, 24 Aug 2009 10:16:19 +0000 (10:16 +0000)
commit927d43d57415185dd776a3a857e6ae3d302a86ab
treeb987e82f0d882e92c002bb8e7058ffc162a9b3fd
parent47445e571bb87efe6c9621022f2d327bdf40b28d
When "jail -c vnet" request fails, the current code actually creates and
leaves behind an orphaned vnet.  This change ensures that such vnets get
released.

This change affects only options VIMAGE builds.

Submitted by: jamie
Discussed with: bz
Approved by: re (rwatson), julian (mentor)
MFC after: 3 days
sys/kern/kern_jail.c