diff options
author | glebius <glebius@FreeBSD.org> | 2005-01-26 09:01:50 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2005-01-26 09:01:50 +0000 |
commit | 6a761a566aaa68fd518d01a20aee1fd603d14a16 (patch) | |
tree | c023f3814df2eeb155b3a7cd9a3006f273f79c6a /sys/netgraph/ng_base.c | |
parent | abd6926192a0343aecd0a9b61dfca87234255dca (diff) | |
download | FreeBSD-src-6a761a566aaa68fd518d01a20aee1fd603d14a16.zip FreeBSD-src-6a761a566aaa68fd518d01a20aee1fd603d14a16.tar.gz |
Rename ng_callout_trapoline to ng_callout_trampoline.
Requested by: ru
Diffstat (limited to 'sys/netgraph/ng_base.c')
-rw-r--r-- | sys/netgraph/ng_base.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c index 8441822..9d35414 100644 --- a/sys/netgraph/ng_base.c +++ b/sys/netgraph/ng_base.c @@ -3592,7 +3592,7 @@ ng_send_fn(node_p node, hook_p hook, ng_item_fn *fn, void * arg1, int arg2) * Official timeout routines for Netgraph nodes. */ static void -ng_callout_trapoline(void *arg) +ng_callout_trampoline(void *arg) { item_p item = arg; @@ -3619,7 +3619,7 @@ ng_callout(struct callout *c, node_p node, hook_p hook, int ticks, NGI_FN(item) = fn; NGI_ARG1(item) = arg1; NGI_ARG2(item) = arg2; - callout_reset(c, ticks, &ng_callout_trapoline, item); + callout_reset(c, ticks, &ng_callout_trampoline, item); return (0); } @@ -3635,7 +3635,7 @@ ng_uncallout(struct callout *c, node_p node) rval = callout_stop(c); item = c->c_arg; /* Do an extra check */ - if ((rval > 0) && (c->c_func == &ng_callout_trapoline) && + if ((rval > 0) && (c->c_func == &ng_callout_trampoline) && (NGI_NODE(item) == node)) { /* * We successfully removed it from the queue before it ran |