From 7ae27ff49f75ab84aa08078514699692fb9c4f16 Mon Sep 17 00:00:00 2001 From: Jamie Gritton Date: Thu, 7 May 2009 18:36:47 +0000 Subject: Move the per-prison Linux MIB from a private one-off pointer to the new OSD-based jail extensions. This allows the Linux MIB to accessed via jail_set and jail_get, and serves as a demonstration of adding jail support to a module. Reviewed by: dchagin, kib Approved by: bz (mentor) --- sys/kern/kern_jail.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/kern') diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c index 7c0e7c993ea0..069f1f0f1b9c 100644 --- a/sys/kern/kern_jail.c +++ b/sys/kern/kern_jail.c @@ -1713,7 +1713,6 @@ prison_deref(struct prison *pr, int flags) VFS_UNLOCK_GIANT(vfslocked); } mtx_destroy(&pr->pr_mtx); - free(pr->pr_linux, M_PRISON); #ifdef INET free(pr->pr_ip4, M_PRISON); #endif -- cgit v1.3