From owner-cvs-all Sun May 5 14:34:42 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 10E8C37B430; Sun, 5 May 2002 14:34:11 -0700 (PDT) Received: (from luigi@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g45LYBS08160; Sun, 5 May 2002 14:34:11 -0700 (PDT) (envelope-from luigi) Message-Id: <200205052134.g45LYBS08160@freefall.freebsd.org> From: Luigi Rizzo Date: Sun, 5 May 2002 14:34:10 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/ipfw ipfw.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG luigi 2002/05/05 14:34:10 PDT Modified files: sbin/ipfw ipfw.c Log: Fix a couple of problems which could cause panics at runtime: + setting a bandwidth too large for a pipe (above 2Gbit/s) could cause the internal representation (which is int) to wrap to a negative number, causing an infinite loop in the kernel; + (see PR bin/35628): when configuring RED parameters for a queue, the values are not passed to the kernel resulting in panics at runtime (part of the problem here is also that the kernel does not check for valid parameters being passed, but this will be fixed in a separate commit). These are both critical fixes which need to be merged into 4.6-RELEASE. MFC after: 1 day Revision Changes Path 1.121 +55 -50 src/sbin/ipfw/ipfw.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message