Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2008 20:39:48 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r186615 - head/sys/kern
Message-ID:  <200812302039.mBUKdmHC004512@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }



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