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

/freebsd-11-stable/sys/kern/
H A Dkern_linker.cdiff 43084 Sat Jan 23 01:45:22 MST 1999 peter Update userref handling after discussion with submitter of previous
patch. lf can't be dereferenced after the unload attempt, in case it
was freed. Instead, decrement first and back it out if the unload failed.
This should be relatively immune to races caused by the user since the
userref count will be zero for the duration of the actual unloading and
will stop further kldunload attempts.

Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>

Completed in 60 milliseconds