svn commit: r186736 - head/sys/kern

Bjoern A. Zeeb bz at FreeBSD.org
Sun Jan 4 04:18:19 PST 2009


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);
 }


More information about the svn-src-head mailing list