TEST PLEASE: if_tun patch
Poul-Henning Kamp
phk at phk.freebsd.dk
Sat Sep 27 14:57:29 PDT 2003
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.
More information about the freebsd-current
mailing list