From 66cbfdf2906bd116c28fb5fc70845e7ef689b3cc Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Sun, 17 Jan 2010 13:42:07 +0000 Subject: [PATCH] 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) --- sys/kern/kern_jail.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c index 0900541f2cc..c3c2568da7d 100644 --- a/sys/kern/kern_jail.c +++ b/sys/kern/kern_jail.c @@ -753,7 +753,9 @@ kern_jail_set(struct thread *td, struct uio *optuio, int flags) * 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);