summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/probe.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-03-01 22:37:01 +0000
committerrwatson <rwatson@FreeBSD.org>2004-03-01 22:37:01 +0000
commit8da3c338df69c01d7b944522ec9ce80aa7f6b6f7 (patch)
treebc9b2866a079fd9f8cd42348680176d3f9e0fa0b /usr.sbin/ppp/probe.c
parent2413c6f29f84c5ff7492862c41ff2b211cdcfd80 (diff)
downloadFreeBSD-src-8da3c338df69c01d7b944522ec9ce80aa7f6b6f7.zip
FreeBSD-src-8da3c338df69c01d7b944522ec9ce80aa7f6b6f7.tar.gz
Rename NET_PICKUP_GIANT() to NET_LOCK_GIANT(), and NET_DROP_GIANT()
to NET_UNLOCK_GIANT(). While they are used in similar ways, the semantics are quite different -- NET_LOCK_GIANT() and NET_UNLOCK_GIANT() directly wrap mutex lock and unlock operations, whereas drop/pickup special case the handling of Giant recursion. Add a comment saying as much. Add NET_ASSERT_GIANT(), which conditionally asserts Giant based on the value of debug_mpsafenet.
Diffstat (limited to 'usr.sbin/ppp/probe.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud