cvs commit: src/sys/netinet udp_usrreq.c
glebius at freebsd.org
Tue Feb 22 08:07:34 GMT 2005
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.
On Tue, Feb 22, 2005 at 07:50:03AM +0000, Gleb Smirnoff wrote:
T> glebius 2005-02-22 07:50:03 UTC
T> FreeBSD src repository
T> Modified files:
T> sys/netinet udp_usrreq.c
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> So, we shall treat jailed sockets specially in udp_output(), we will save
T> their local address.
T> This fixes a long standing bug with broken sendto() system call in jails.
T> PR: kern/26506
T> Reviewed by: rwatson
T> MFC after: 2 weeks
T> Revision Changes Path
T> 1.172 +5 -0 src/sys/netinet/udp_usrreq.c
T> cvs-all at freebsd.org mailing list
T> To unsubscribe, send any mail to "cvs-all-unsubscribe at freebsd.org"
Totus tuus, Glebius.
More information about the cvs-all