TEST PLEASE: if_tun patch

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Sat, 27 Sep 2003 23:57:19 +0200
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_at_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.
Received on Sat Sep 27 2003 - 12:57:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:23 UTC