From owner-cvs-all Mon Apr 2 18:22:19 2001 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 964D937B71C; Mon, 2 Apr 2001 18:22:16 -0700 (PDT) (envelope-from brian@FreeBSD.org) Received: (from brian@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f331MGM55634; Mon, 2 Apr 2001 18:22:16 -0700 (PDT) (envelope-from brian) Message-Id: <200104030122.f331MGM55634@freefall.freebsd.org> From: Brian Somers Date: Mon, 2 Apr 2001 18:22:16 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_tun.c if_tunvar.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG brian 2001/04/02 18:22:16 PDT Modified files: sys/net if_tun.c if_tunvar.h Log: Allow MOD_UNLOADs of if_tun, and handle event handler registration failures in MOD_LOAD. Dodge duplicate make_dev() calls by (ab)using dev->si_drv2 to remember if we created the device node via a dev_clone callback before the d_open call. Revision Changes Path 1.91 +43 -11 src/sys/net/if_tun.c 1.8 +3 -1 src/sys/net/if_tunvar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message