cvs commit: src/sys/netinet udp_usrreq.c
Gleb Smirnoff
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.
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 at freebsd.org mailing list
T> http://lists.freebsd.org/mailman/listinfo/cvs-all
T> To unsubscribe, send any mail to "cvs-all-unsubscribe at freebsd.org"
--
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
More information about the cvs-src
mailing list