summaryrefslogtreecommitdiffstats
path: root/sbin/kldstat
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-03-15 01:52:00 +0000
committerrwatson <rwatson@FreeBSD.org>2004-03-15 01:52:00 +0000
commit420f21f752c85ffc1575a260ab601a99287ce6a1 (patch)
treeba26ee688b176bbc4cc8c4d884c51708bcdca69f /sbin/kldstat
parente3a889945bc9541b776225192d303a06de5b1e18 (diff)
downloadFreeBSD-src-420f21f752c85ffc1575a260ab601a99287ce6a1.zip
FreeBSD-src-420f21f752c85ffc1575a260ab601a99287ce6a1.tar.gz
Lock down global variables in if_tap (primarily, the tap softc list);
add tapmtx, which protects globale variables. Notes: - The EBUSY check in MOD_UNLOAD may be subject to a race. Moving the event handler unregister inside the mutex grab may prevent that race. - Locking of global variables safely is now possible because tapclones is only modified when the module is loading or unloading, thanks to phk's recent chang to clone_setup(). - softc locking to follow.
Diffstat (limited to 'sbin/kldstat')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud