summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_ether.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2006-01-12 21:09:12 +0000
committerglebius <glebius@FreeBSD.org>2006-01-12 21:09:12 +0000
commit91d3ed73322f8d835faf2c835c37d0d9184b3b57 (patch)
tree852277d4a30f8a2240356a8933b45da5f868b9eb /sys/netgraph/ng_ether.c
parent0ed6fbc84ee4a3f052abbfae9e1090450f30ef77 (diff)
downloadFreeBSD-src-91d3ed73322f8d835faf2c835c37d0d9184b3b57.zip
FreeBSD-src-91d3ed73322f8d835faf2c835c37d0d9184b3b57.tar.gz
Do not force queueing on peer hooks. This was important only for
5.0-CURRENT. And it looks like this didn't work before Julian's revamp of netgraph queue code. Reviewed by: julian
Diffstat (limited to 'sys/netgraph/ng_ether.c')
-rw-r--r--sys/netgraph/ng_ether.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/netgraph/ng_ether.c b/sys/netgraph/ng_ether.c
index 51e40c2..3deb863 100644
--- a/sys/netgraph/ng_ether.c
+++ b/sys/netgraph/ng_ether.c
@@ -108,7 +108,6 @@ static ng_constructor_t ng_ether_constructor;
static ng_rcvmsg_t ng_ether_rcvmsg;
static ng_shutdown_t ng_ether_shutdown;
static ng_newhook_t ng_ether_newhook;
-static ng_connect_t ng_ether_connect;
static ng_rcvdata_t ng_ether_rcvdata;
static ng_disconnect_t ng_ether_disconnect;
static int ng_ether_mod_event(module_t mod, int event, void *data);
@@ -203,7 +202,6 @@ static struct ng_type ng_ether_typestruct = {
.rcvmsg = ng_ether_rcvmsg,
.shutdown = ng_ether_shutdown,
.newhook = ng_ether_newhook,
- .connect = ng_ether_connect,
.rcvdata = ng_ether_rcvdata,
.disconnect = ng_ether_disconnect,
.cmdlist = ng_ether_cmdlist,
@@ -413,18 +411,6 @@ ng_ether_newhook(node_p node, hook_p hook, const char *name)
}
/*
- * Hooks are attached, adjust to force queueing.
- * We don't really care which hook it is.
- * they should all be queuing for outgoing data.
- */
-static int
-ng_ether_connect(hook_p hook)
-{
- NG_HOOK_FORCE_QUEUE(NG_HOOK_PEER(hook));
- return (0);
-}
-
-/*
* Receive an incoming control message.
*/
static int
OpenPOWER on IntegriCloud