]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add an exported function ng_rmhook_self() that removes a hook
authorjulian <julian@FreeBSD.org>
Thu, 11 Jan 2001 19:27:54 +0000 (19:27 +0000)
committerjulian <julian@FreeBSD.org>
Thu, 11 Jan 2001 19:27:54 +0000 (19:27 +0000)
commit420cd96845940f5b7d69ecc28843ccc9e95384bd
tree88cf5483ae4052b5cdda21e1daed26acf6d1250d
parentc24ab624c0b03d3d3a8012d0d57692f8dec8237d
Add an exported function ng_rmhook_self() that removes a hook
from a node, but does it via the locking queue, thus ensuring that the
node is locked when it's hook is removed.

Add 'deadnode' and 'deadhook' structures for when a node or hook is
invalidated but not yet freed. (not yet freed)
sys/netgraph/netgraph.h
sys/netgraph/ng_base.c
sys/netgraph/ng_pppoe.c