From owner-cvs-all@FreeBSD.ORG Mon Oct 11 20:01:43 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64D6B16A4CE; Mon, 11 Oct 2004 20:01:43 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 459E743D2F; Mon, 11 Oct 2004 20:01:43 +0000 (GMT) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i9BK1h9w084145; Mon, 11 Oct 2004 20:01:43 GMT (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i9BK1hRg084144; Mon, 11 Oct 2004 20:01:43 GMT (envelope-from andre) Message-Id: <200410112001.i9BK1hRg084144@repoman.freebsd.org> From: Andre Oppermann Date: Mon, 11 Oct 2004 20:01:43 +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/net netisr.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2004 20:01:43 -0000 andre 2004-10-11 20:01:43 UTC FreeBSD src repository Modified files: sys/net netisr.c Log: Correctly unregister a netisr by clearing the ni->ni_queue field to NULL as well. This field is actually used by various netisr functions to determine the availablility of the specified netisr. This uncomplete unregister leads directly to a crash when the KLD unregistering the netisr is unloaded. Submitted by: Sam MFC after: 3 days Revision Changes Path 1.15 +1 -0 src/sys/net/netisr.c