Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jan 2009 12:18:18 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r186736 - head/sys/kern
Message-ID:  <200901041218.n04CIIDe057163@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Sun Jan  4 12:18:18 2009
New Revision: 186736
URL: http://svn.freebsd.org/changeset/base/186736

Log:
  Back out r186615; the sanitizing of the pointers in the error case
  is not needed and seems that it will not be needed either.
  
  Pointy hat:	mine, mine, mine and not pho's

Modified:
  head/sys/kern/kern_jail.c

Modified: head/sys/kern/kern_jail.c
==============================================================================
--- head/sys/kern/kern_jail.c	Sun Jan  4 11:31:03 2009	(r186735)
+++ head/sys/kern/kern_jail.c	Sun Jan  4 12:18:18 2009	(r186736)
@@ -329,11 +329,9 @@ 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?200901041218.n04CIIDe057163>