Date: Sat, 27 Sep 2003 23:57:19 +0200 From: Poul-Henning Kamp <phk@phk.freebsd.dk> To: current@freebsd.org Subject: TEST PLEASE: if_tun patch Message-ID: <92028.1064699839@critter.freebsd.dk>
next in thread | raw e-mail | index | archive | help
Please test this patch: http://phk.freebsd.dk/patch/if_tun.patch There is a slight change in semantics in that the interface will disappear entirely when the /dev/tun%d device is closed. If no objections this will be committed in some days. | Remove the bogus tunbasedev, instead record the dev_t in our softc. | | Rely on the new an cloning friendlier semantics of make_dev(). | | Properly dismantle and remove the interface and destroy the dev_t | at last close of the device. | | Remove code from MOD_UNLOAD to dismantle things. | | Remove the list used to hang the tunnels from, it is no longer needed. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92028.1064699839>