aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-01-23 03:45:22 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-01-23 03:45:22 +0000
commit461b36ab541ba709aaf7eccd66d906f8ebc225c7 (patch)
treeabe010aba11a96424e8d8bd16beda42892812dab /include
parent2c9b3ec2ff7ac397e279d3979d19a11f797d3e3f (diff)
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>
Notes
Notes: svn path=/head/; revision=43084
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions