From owner-cvs-all Tue Mar 5 9:50: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 1ED8437B400; Tue, 5 Mar 2002 09:50:36 -0800 (PST) Received: (from green@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g25Hoas17067; Tue, 5 Mar 2002 09:50:36 -0800 (PST) (envelope-from green) Message-Id: <200203051750.g25Hoas17067@freefall.freebsd.org> From: Brian Feldman Date: Tue, 5 Mar 2002 09:50:36 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if.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 green 2002/03/05 09:50:36 PST Modified files: sys/net if.c Log: Use revoke_and_destroy_dev() instead of destroy_dev() when removing /dev/net pseudo-devices when an interface goes away. Otherwise, an open /dev/net/foo0 when the interface is removed can cause a crash. Not objected to by: jlemon Revision Changes Path 1.132 +1 -1 src/sys/net/if.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message