Date: Tue, 22 Feb 2005 07:50:03 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet udp_usrreq.c Message-ID: <200502220750.j1M7o3fG012849@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
glebius 2005-02-22 07:50:03 UTC FreeBSD src repository Modified files: sys/netinet udp_usrreq.c Log: In in_pcbconnect_setup() jailed sockets are treated specially: if local address is not supplied, then jail IP is choosed and in_pcbbind() is called. Since udp_output() does not save local addr after call to in_pcbconnect_setup(), in_pcbbind() is called for each packet, and this is incorrect. So, we shall treat jailed sockets specially in udp_output(), we will save their local address. This fixes a long standing bug with broken sendto() system call in jails. PR: kern/26506 Reviewed by: rwatson MFC after: 2 weeks Revision Changes Path 1.172 +5 -0 src/sys/netinet/udp_usrreq.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502220750.j1M7o3fG012849>