Module Name: src Committed By: ozaki-r Date: Fri Nov 7 09:26:08 UTC 2014
Modified Files: src/sys/net: if_tap.c Log Message: Complete the initialization of tap_softc before if_attach Basically we should complete the initializaiton of softc before if_attach because once if_attach is called if_detach can be called for the softc before returning from if_attach. In case of tap, mutex_destroy can be called before mutex_init that comes after if_attach. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/net/if_tap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.