Date: Sat, 19 Feb 2005 14:17:12 +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/kern uipc_socket.c Message-ID: <200502191417.j1JEHCaM027023@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
glebius 2005-02-19 14:17:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/kern uipc_socket.c Log: MFC 1.226, with one change: use SHRT_MAX instead of USHRT_MAX, since sys/socketvar.h rev. 1.136 is not merged due to API freeze. - Add SYSCTL_PROC() around somaxconn, not accepting values < 1 or > SHRT_MAX. Before this change setting somaxconn to smth above 32767 and calling listen(fd, -1) lead to a socket, which doesn't accept connections at all. Reviewed by: rwatson Reported by: Igor Sysoev Revision Changes Path 1.208.2.10 +23 -2 src/sys/kern/uipc_socket.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502191417.j1JEHCaM027023>