From owner-cvs-all@FreeBSD.ORG Tue Feb 22 08:07:34 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E82B16A4CE; Tue, 22 Feb 2005 08:07:34 +0000 (GMT) Received: from relay.bestcom.ru (relay.bestcom.ru [217.72.144.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B9B843D5D; Tue, 22 Feb 2005 08:07:33 +0000 (GMT) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (root@cell.sick.ru [217.72.144.68]) by relay.bestcom.ru (8.13.1/8.12.9) with ESMTP id j1M87UTQ030435 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 22 Feb 2005 11:07:31 +0300 (MSK) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.1/8.12.8) with ESMTP id j1M87U5w010452 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Feb 2005 11:07:30 +0300 (MSK) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.1/8.13.1/Submit) id j1M87T90010451; Tue, 22 Feb 2005 11:07:29 +0300 (MSK) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@freebsd.org using -f Date: Tue, 22 Feb 2005 11:07:29 +0300 From: Gleb Smirnoff To: cvs-src@freebsd.org, cvs-all@freebsd.org Message-ID: <20050222080729.GA10395@cell.sick.ru> References: <200502220750.j1M7o3fG012849@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200502220750.j1M7o3fG012849@repoman.freebsd.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: ClamAV version devel-20050125, clamav-milter version 0.80ff on relay.bestcom.ru X-Virus-Status: Clean Subject: Re: cvs commit: src/sys/netinet udp_usrreq.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2005 08:07:34 -0000 I'd be glad to MFC this to RELENG_4, too. But I don't have RELENG_4 test box. So, if you want this fixed in RELENG_4, please test and mail me. Thanks. On Tue, Feb 22, 2005 at 07:50:03AM +0000, Gleb Smirnoff wrote: T> glebius 2005-02-22 07:50:03 UTC T> T> FreeBSD src repository T> T> Modified files: T> sys/netinet udp_usrreq.c T> Log: T> In in_pcbconnect_setup() jailed sockets are treated specially: if local T> address is not supplied, then jail IP is choosed and in_pcbbind() is called. T> Since udp_output() does not save local addr after call to in_pcbconnect_setup(), T> in_pcbbind() is called for each packet, and this is incorrect. T> T> So, we shall treat jailed sockets specially in udp_output(), we will save T> their local address. T> T> This fixes a long standing bug with broken sendto() system call in jails. T> T> PR: kern/26506 T> Reviewed by: rwatson T> MFC after: 2 weeks T> T> Revision Changes Path T> 1.172 +5 -0 src/sys/netinet/udp_usrreq.c T> _______________________________________________ T> cvs-all@freebsd.org mailing list T> http://lists.freebsd.org/mailman/listinfo/cvs-all T> To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE