summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_socketvar.h
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-01-23 15:17:14 +0000
committerglebius <glebius@FreeBSD.org>2012-01-23 15:17:14 +0000
commit6fbf18d42fa659fa2045199fee26d791fa06a136 (patch)
tree6827e779b35cf071ccb0360ccd77dd286e8de785 /sys/netgraph/ng_socketvar.h
parent328a5e4f1a048db4991d7ad7ecfb8168a34aad98 (diff)
downloadFreeBSD-src-6fbf18d42fa659fa2045199fee26d791fa06a136.zip
FreeBSD-src-6fbf18d42fa659fa2045199fee26d791fa06a136.tar.gz
Convert locks that protect name hash, ID hash and typelist from
mutex(9) to rwlock(9) based locks. While here remove dropping lock when processing NGM_LISTNODES, and NGM_LISTTYPES generic commands. We don't need to drop it since memory allocation is done with M_NOWAIT.
Diffstat (limited to 'sys/netgraph/ng_socketvar.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud