Module Name: src Committed By: pgoyette Date: Mon Mar 25 09:07:24 UTC 2019
Modified Files: src/sys/net: if_tun.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154 src/sys/net/if_tun.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.