From owner-cvs-src-old@FreeBSD.ORG Thu Feb 25 09:51:25 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3103F106575F for ; Thu, 25 Feb 2010 09:51:23 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C95778FC08 for ; Thu, 25 Feb 2010 09:51:23 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o1P9pNtG040803 for ; Thu, 25 Feb 2010 09:51:23 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o1P9pNgI040802 for cvs-src-old@freebsd.org; Thu, 25 Feb 2010 09:51:23 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <201002250951.o1P9pNgI040802@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Thu, 25 Feb 2010 09:51:14 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/net netisr.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2010 09:51:25 -0000 rwatson 2010-02-25 09:51:14 UTC FreeBSD src repository Modified files: sys/net netisr.c Log: SVN rev 204303 on 2010-02-25 09:51:14Z by rwatson Fix edge cases in several KASSERTs: use <= rather than < when testing that counters have not gone about MAXCPU or NETISR_MAXPROT. These problems caused panics on UP kernels with INVARIANTS when using sysctl -a, but would also have caused problems for 32-core boxes or if the netisr protocol vector was fully populated. Reported by: nwhitehorn, Neel Natu MFC after: 4 days Revision Changes Path 1.37 +3 -3 src/sys/net/netisr.c