Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2005 11:07:29 +0300
From:      Gleb Smirnoff <glebius@freebsd.org>
To:        cvs-src@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/netinet udp_usrreq.c
Message-ID:  <20050222080729.GA10395@cell.sick.ru>
In-Reply-To: <200502220750.j1M7o3fG012849@repoman.freebsd.org>
References:  <200502220750.j1M7o3fG012849@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050222080729.GA10395>