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
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to