From owner-cvs-src@FreeBSD.ORG Fri Apr 8 08:42:11 2005 Return-Path: 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 CEFD816A4CE; Fri, 8 Apr 2005 08:42:11 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1DFE43D1D; Fri, 8 Apr 2005 08:42:11 +0000 (GMT) (envelope-from maxim@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 j388gBXY023854; Fri, 8 Apr 2005 08:42:11 GMT (envelope-from maxim@repoman.freebsd.org) Received: (from maxim@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j388gBQA023853; Fri, 8 Apr 2005 08:42:11 GMT (envelope-from maxim) Message-Id: <200504080842.j388gBQA023853@repoman.freebsd.org> From: Maxim Konovalov Date: Fri, 8 Apr 2005 08:42:11 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet in_pcb.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2005 08:42:11 -0000 maxim 2005-04-08 08:42:11 UTC FreeBSD src repository Modified files: sys/netinet in_pcb.c Log: o Disable random port allocation when ip.portrange.first == ip.portrange.last and there is the only port for that because: a) it is not wise; b) it leads to a panic in the random ip port allocation code. In general we need to disable ip port allocation randomization if the last - first delta is ridiculous small. PR: kern/79342 Spotted by: Anjali Kulkarni Glanced at by: silby MFC after: 2 weeks Revision Changes Path 1.162 +6 -0 src/sys/netinet/in_pcb.c