summaryrefslogtreecommitdiffstats
path: root/share/man/man4/netgraph.4
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2001-01-30 20:51:52 +0000
committerjulian <julian@FreeBSD.org>2001-01-30 20:51:52 +0000
commit829347d51049c2e13e3480a34b697ad0706f544d (patch)
tree3a9e298fda80b85b295437ee382beb9478e01b0b /share/man/man4/netgraph.4
parentc699ccaa2e2324716dbff91054e658cba135b735 (diff)
downloadFreeBSD-src-829347d51049c2e13e3480a34b697ad0706f544d.zip
FreeBSD-src-829347d51049c2e13e3480a34b697ad0706f544d.tar.gz
Implement direct support for semipersistant nodes.
(e.g. ethernet nodes are persistent until you rip out the hardware) Use this support in the ethernet and sample nodes. Add some more abstraction on the 'item's so that node and hook reference counting can be checked easier. Slight man page correction. Make pppoe type dependent on ethernet type. Clean up node shutdown a little. Move a mutex from MTX_SPIN to MTX_DEF (oops) Fix small ref-counting bug. remove warning on one2many type.
Diffstat (limited to 'share/man/man4/netgraph.4')
-rw-r--r--share/man/man4/netgraph.44
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man4/netgraph.4 b/share/man/man4/netgraph.4
index 1297158..d191408 100644
--- a/share/man/man4/netgraph.4
+++ b/share/man/man4/netgraph.4
@@ -730,8 +730,8 @@ references
and
.Fn NG_HOOK_UNREF "hook"
increment and decrement the hook reference count accordingly.
-After decrement you should always sume the hook has been freed.
-In fact the macro may set it to NULL.
+After decrement you should always assume the hook has been freed
+unless you have another reference still valid.
.El
.Pp
The maintenance of the names, reference counts, and linked list
OpenPOWER on IntegriCloud