From owner-cvs-src-old@FreeBSD.ORG Sun May 2 16:37:09 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 259DA1065675 for ; Sun, 2 May 2010 16:37:09 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 14ED08FC1F for ; Sun, 2 May 2010 16:37:09 +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 o42Gb8Nh035190 for ; Sun, 2 May 2010 16:37:08 GMT (envelope-from bz@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o42Gb8YY035189 for cvs-src-old@freebsd.org; Sun, 2 May 2010 16:37:08 GMT (envelope-from bz@repoman.freebsd.org) Message-Id: <201005021637.o42Gb8YY035189@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to bz@repoman.freebsd.org using -f From: "Bjoern A. Zeeb" Date: Sun, 2 May 2010 16:36:15 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 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: Sun, 02 May 2010 16:37:09 -0000 bz 2010-05-02 16:36:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/netinet raw_ip.c sys/netinet6 raw_ip6.c Log: SVN rev 207515 on 2010-05-02 16:36:15Z by bz MFC r207277: 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) Revision Changes Path 1.220.2.9 +18 -5 src/sys/netinet/raw_ip.c 1.111.2.4 +1 -1 src/sys/netinet6/raw_ip6.c