From owner-cvs-src-old@FreeBSD.ORG Tue Apr 27 15:08:04 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4686F1065670 for ; Tue, 27 Apr 2010 15:08:04 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 33AE98FC18 for ; Tue, 27 Apr 2010 15:08:04 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o3RF84n4032401 for ; Tue, 27 Apr 2010 15:08:04 GMT (envelope-from bz@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o3RF84on032400 for cvs-src-old@freebsd.org; Tue, 27 Apr 2010 15:08:04 GMT (envelope-from bz@repoman.freebsd.org) Message-Id: <201004271508.o3RF84on032400@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to bz@repoman.freebsd.org using -f From: "Bjoern A. Zeeb" Date: Tue, 27 Apr 2010 15:07:08 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet raw_ip.c src/sys/netinet6 raw_ip6.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 15:08:04 -0000 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