From owner-cvs-src@FreeBSD.ORG Sun Jul 3 01:09:23 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05C5716AD0A; Sun, 3 Jul 2005 00:58:16 +0000 (GMT) (envelope-from ps@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF3CE4459B; Sun, 3 Jul 2005 00:41:56 +0000 (GMT) (envelope-from ps@mu.org) Received: by elvis.mu.org (Postfix, from userid 1000) id D00346DBF7; Sat, 2 Jul 2005 17:38:01 -0700 (PDT) X-Original-To: ps@mu.org Delivered-To: ps@mu.org Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by elvis.mu.org (Postfix) with ESMTP id 0AC005C9CC for ; Mon, 24 Jan 2005 04:21:30 -0800 (PST) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id B5EBC5745F for ; Mon, 24 Jan 2005 12:20:47 +0000 (GMT) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 18C7C16A540; Mon, 24 Jan 2005 12:20:24 +0000 (GMT) Delivered-To: ps@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 538) id 05F1D16A4D0; Mon, 24 Jan 2005 12:20:23 +0000 (GMT) Delivered-To: src-committers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C15D016A4CE; Mon, 24 Jan 2005 12:20:21 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9775D43D3F; Mon, 24 Jan 2005 12:20:21 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0OCKL10035601; Mon, 24 Jan 2005 12:20:21 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0OCKLKs035600; Mon, 24 Jan 2005 12:20:21 GMT (envelope-from glebius) Message-Id: <200501241220.j0OCKLKs035600@repoman.freebsd.org> From: Gleb Smirnoff To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on elvis.mu.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Cc: Subject: cvs commit: src/sys/kern uipc_socket.c src/sys/sys socketvar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 03 Jul 2005 01:09:24 -0000 X-Original-Date: Mon, 24 Jan 2005 12:20:21 +0000 (UTC) X-List-Received-Date: Sun, 03 Jul 2005 01:09:24 -0000 glebius 2005-01-24 12:20:21 UTC FreeBSD src repository Modified files: sys/kern uipc_socket.c sys/sys socketvar.h Log: - Convert so_qlen, so_incqlen, so_qlimit fields of struct socket from short to unsigned short. - Add SYSCTL_PROC() around somaxconn, not accepting values < 1 or > U_SHRTMAX. 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.226 +23 -2 src/sys/kern/uipc_socket.c 1.136 +6 -6 src/sys/sys/socketvar.h