There is now also another patch http://phk.freebsd.dk/patch/if_tap.patch for the /dev/tap and /dev/vmnet driver. Please test this too, it follows the if_tun patch very closely. >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. >_______________________________________________ >freebsd-current_at_freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" > -- 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 Sun Sep 28 2003 - 10:51:40 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:23 UTC