svn commit: r202481 - stable/8/sys/kern

Bjoern A. Zeeb bz at FreeBSD.org
Sun Jan 17 13:42:07 UTC 2010


Author: bz
Date: Sun Jan 17 13:42:07 2010
New Revision: 202481
URL: http://svn.freebsd.org/changeset/base/202481

Log:
  MFC r202116:
    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)

Modified:
  stable/8/sys/kern/kern_jail.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/kern/kern_jail.c
==============================================================================
--- stable/8/sys/kern/kern_jail.c	Sun Jan 17 13:38:11 2010	(r202480)
+++ stable/8/sys/kern/kern_jail.c	Sun Jan 17 13:42:07 2010	(r202481)
@@ -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-stable-8 mailing list