Date: Sat, 7 Feb 2009 10:17:29 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet in_pcb.c Message-ID: <200902071017.n17AHYFJ030621@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2009-02-07 10:17:29 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/netinet in_pcb.c
Log:
SVN rev 188275 on 2009-02-07 10:17:29Z by bz
MFC:
r183571:
Implement IPv4 source address selection for unbound sockets.
This also changes the semantics of selecting the IP for processes within
a jail as it now uses the same logic as outside the jail (with additional
checks) but no longer is on a mutually exclusive code path.
r186086:
With the special check for FreeBSD before 8 a destination route via
a loopback interface is treated as a valid and reachable thing for
IPv4 source address selection, even though nothing of that network
is ever directly reachable, but it is more like a blackhole route.
With this the source address will be selected and IPsec can grab the
packets before we would discard them at a later point, encapsulate them
and send them out from a different tunnel endpoint IP.
This is needed to not change the expected behaviour on a stable branch.
Revision Changes Path
1.196.2.16 +208 -42 src/sys/netinet/in_pcb.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902071017.n17AHYFJ030621>
