summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_ioctl.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-02-21 22:09:54 +0000
committerjhb <jhb@FreeBSD.org>2006-02-21 22:09:54 +0000
commit55b3bd61d28f09f0843c4772be973289d0a7a1ff (patch)
tree54705807bf28d82b1b964eea340ef0ee2ec35ef7 /sys/net80211/ieee80211_ioctl.c
parentabc45ce01034a350e17a8e6e9be4260b6c2b2b67 (diff)
downloadFreeBSD-src-55b3bd61d28f09f0843c4772be973289d0a7a1ff.zip
FreeBSD-src-55b3bd61d28f09f0843c4772be973289d0a7a1ff.tar.gz
Lock the vm_object while checking its type to see if it is a vnode-backed
object that requires Giant in vm_object_deallocate(). This is somewhat hairy in that if we can't obtain Giant directly, we have to drop the object lock, then lock Giant, then relock the object lock and verify that we still need Giant. If we don't (because the object changed to OBJT_DEAD for example), then we drop Giant before continuing. Reviewed by: alc Tested by: kris
Diffstat (limited to 'sys/net80211/ieee80211_ioctl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud