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

/freebsd-10.0-release/sys/net/
H A Dif_disc.cdiff 126777 Tue Mar 09 14:31:19 MST 2004 rwatson Introduce disc_mtx to protect the global softc list in if_disc.

Since there are two destroy paths for if_disc interfaces --
module unload and cloan interface destroy, create a new utility
function disc_destroy(), which is callded on a softc after it
has been removed from the global softc list; the cloaner and
module unload entry paths will both remove it before calling
disc_destroy().

Reviewed by: pjd

Completed in 101 milliseconds