svn commit: r202116 - head/sys/kern

Bjoern A. Zeeb bz at FreeBSD.org
Mon Jan 11 21:21:30 UTC 2010


Author: bz
Date: Mon Jan 11 21:21:30 2010
New Revision: 202116
URL: http://svn.freebsd.org/changeset/base/202116

Log:
  Adjust a comment to reflect reality, as we have proper source
  address selection, even for IPv4, since r183571.
  
  Pointed out by:	Jase Thew (bazerka beardz.net)
  MFC after:	3 days

Modified:
  head/sys/kern/kern_jail.c

Modified: head/sys/kern/kern_jail.c
==============================================================================
--- head/sys/kern/kern_jail.c	Mon Jan 11 21:17:49 2010	(r202115)
+++ head/sys/kern/kern_jail.c	Mon Jan 11 21:21:30 2010	(r202116)
@@ -753,7 +753,9 @@ kern_jail_set(struct thread *td, struct 
 			 * IP addresses are all sorted but ip[0] to preserve
 			 * the primary IP address as given from userland.
 			 * This special IP is used for unbound outgoing
-			 * connections as well for "loopback" traffic.
+			 * connections as well for "loopback" traffic in case
+			 * source address selection cannot find any more fitting
+			 * address to connect from.
 			 */
 			if (ip4s > 1)
 				qsort(ip4 + 1, ip4s - 1, sizeof(*ip4), qcmp_v4);


More information about the svn-src-head mailing list