Date: Tue, 27 Apr 2010 15:07:08 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet raw_ip.c src/sys/netinet6 raw_ip6.c Message-ID: <201004271508.o3RF84on032400@repoman.freebsd.org>
index | next in thread | raw e-mail
bz 2010-04-27 15:07:08 UTC
FreeBSD src repository
Modified files:
sys/netinet raw_ip.c
sys/netinet6 raw_ip6.c
Log:
SVN rev 207277 on 2010-04-27 15:07:08Z by bz
Enhance the historic behaviour of raw sockets and jails in a way
that we allow all possible jail IPs as source address rather than
forcing the "primary". While IPv6 naturally has source address
selection, for legacy IP we do not go through the pain in case
IP_HDRINCL was not set. People should bind(2) for that.
This will, for example, allow ping(|6) -S to work correctly for
non-primary addresses.
Reported by: (ten 211.ru)
Tested by: (ten 211.ru)
MFC after: 4 days
Revision Changes Path
1.229 +18 -5 src/sys/netinet/raw_ip.c
1.114 +1 -1 src/sys/netinet6/raw_ip6.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004271508.o3RF84on032400>
