From owner-svn-src-head@FreeBSD.ORG Tue Dec 30 20:39:48 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51581106564A; Tue, 30 Dec 2008 20:39:48 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3E1D68FC19; Tue, 30 Dec 2008 20:39:48 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mBUKdmIP004513; Tue, 30 Dec 2008 20:39:48 GMT (envelope-from pho@svn.freebsd.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mBUKdmHC004512; Tue, 30 Dec 2008 20:39:48 GMT (envelope-from pho@svn.freebsd.org) Message-Id: <200812302039.mBUKdmHC004512@svn.freebsd.org> From: Peter Holm Date: Tue, 30 Dec 2008 20:39:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r186615 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2008 20:39:48 -0000 Author: pho Date: Tue Dec 30 20:39:47 2008 New Revision: 186615 URL: http://svn.freebsd.org/changeset/base/186615 Log: Added missing second part of cleaning j->ip[46] as requested by bz Approved by: kib (mentor) Pointy hat: pho Modified: head/sys/kern/kern_jail.c Modified: head/sys/kern/kern_jail.c ============================================================================== --- head/sys/kern/kern_jail.c Tue Dec 30 20:31:37 2008 (r186614) +++ head/sys/kern/kern_jail.c Tue Dec 30 20:39:47 2008 (r186615) @@ -329,9 +329,11 @@ jail_copyin_ips(struct jail *j) e_free_ip: #ifdef INET6 free(ip6, M_PRISON); + j->ip6 = NULL; #endif #ifdef INET free(ip4, M_PRISON); + j->ip4 = NULL; #endif return (error); }