Searched hist:127003 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/net/
H A Dif_tap.cdiff 127003 Sun Mar 14 23:52:00 MST 2004 rwatson 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.

Completed in 76 milliseconds