Date: Mon, 2 Apr 2001 18:22:16 -0700 (PDT) From: Brian Somers <brian@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_tun.c if_tunvar.h Message-ID: <200104030122.f331MGM55634@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104030122.f331MGM55634>
