diff options
author | mav <mav@FreeBSD.org> | 2008-12-13 22:26:24 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2008-12-13 22:26:24 +0000 |
commit | 79df8e45992bef49348b53814c4fdcb02172a3de (patch) | |
tree | 8a2b4bd6e0b89a315f28aefdaf27581e36306e1a /sys/netgraph/netgraph.h | |
parent | f83f5582ff4f1e3f15a6f5c7f26299deb1529efa (diff) | |
download | FreeBSD-src-79df8e45992bef49348b53814c4fdcb02172a3de.zip FreeBSD-src-79df8e45992bef49348b53814c4fdcb02172a3de.tar.gz |
Revert rev. 183277:
Remove ng_rmnode_flags() function.
ng_rmnode_self() was made to be called only while having node locked.
When node is properly locked, any function call sent to it will always be
queued. So turning ng_rmnode_self() into the ng_rmnode_flags() is not just
meaningless, but incorrent, as it violates node locking when called outside.
No objections: julian, thompsa
Diffstat (limited to 'sys/netgraph/netgraph.h')
-rw-r--r-- | sys/netgraph/netgraph.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netgraph/netgraph.h b/sys/netgraph/netgraph.h index 4072f76..859af71 100644 --- a/sys/netgraph/netgraph.h +++ b/sys/netgraph/netgraph.h @@ -1130,7 +1130,6 @@ item_p ng_package_msg(struct ng_mesg *msg, int flags); item_p ng_package_msg_self(node_p here, hook_p hook, struct ng_mesg *msg); void ng_replace_retaddr(node_p here, item_p item, ng_ID_t retaddr); int ng_rmhook_self(hook_p hook); /* if a node wants to kill a hook */ -int ng_rmnode_flags(node_p here, int flags); int ng_rmnode_self(node_p here); /* if a node wants to suicide */ int ng_rmtype(struct ng_type *tp); int ng_snd_item(item_p item, int queue); |