From owner-cvs-src-old@FreeBSD.ORG Sat Jan 15 19:46:46 2011 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 8C3131065673 for ; Sat, 15 Jan 2011 19:46:46 +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 5FCF68FC14 for ; Sat, 15 Jan 2011 19:46:46 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p0FJkkZi030344 for ; Sat, 15 Jan 2011 19:46:46 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p0FJkkbF030343 for cvs-src-old@freebsd.org; Sat, 15 Jan 2011 19:46:46 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <201101151946.p0FJkkbF030343@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Sat, 15 Jan 2011 19:46:36 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/net netisr.c netisr_internal.h 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: Sat, 15 Jan 2011 19:46:46 -0000 rwatson 2011-01-15 19:46:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/net netisr.c Added files: (Branch: RELENG_8) sys/net netisr_internal.h Log: SVN rev 217457 on 2011-01-15 19:46:36Z by rwatson Merge r204497, r204499 from head to stable/8: Changes to support crashdump analysis of netisr: - Rename the netisr protocol registration array, 'np' to 'netisr_proto', in order to reduce the chances of symbol name collisions. It remains statically defined, but it will be looked up by netstat(1). - Move certain internal structure definitions from netisr.c to netisr_internal.h so that netstat(1) can find them. They remain private, and should not be used for any other purpose (for example, they should not be used by kernel modules, which must instead use the public interfaces in netisr.h). - Store a kernel-compiled version of NETISR_MAXPROT in the global variable netisr_maxprot, and export via a sysctl, so that it is available for use by netstat(1). This is especially important for crashdump interpretation, where the size of the workstream structure is determined by the maximum number of protocols compiled into the kernel. Sponsored by: Juniper Networks Whitespace tweak. Revision Changes Path 1.32.2.7 +52 -113 src/sys/net/netisr.c 1.1.2.2 +127 -0 src/sys/net/netisr_internal.h (new)