NetBSD/src G6mQSjwsys/net if_tun.c

   Resequence the stuff in tundetach() to ensure that no new device units
   can be created by either 'ifconfig create' or 'open("/dev/tun0")' paths.

   Note: previous efforts at fixing 'modunload if_tun' are abandoned, since
   there is no bug.  Just need to ensure that the cloned interface is both
   close(1)d _and_ 'ifconfig tunx destroy' before trying to unload.
VersionDeltaFile
1.154+18-11sys/net/if_tun.c
+18-111 files

UnifiedSplitRaw