summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
Diffstat (limited to 'nest')
-rw-r--r--nest/proto.c1
-rw-r--r--nest/protocol.h4
-rw-r--r--nest/rt-table.c2
3 files changed, 3 insertions, 4 deletions
diff --git a/nest/proto.c b/nest/proto.c
index 17cd08f7..1d480ba2 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -15,7 +15,6 @@
#include "lib/event.h"
#include "lib/timer.h"
#include "lib/string.h"
-#include "lib/coro.h"
#include "conf/conf.h"
#include "nest/rt.h"
#include "nest/iface.h"
diff --git a/nest/protocol.h b/nest/protocol.h
index d6224015..3c823ae1 100644
--- a/nest/protocol.h
+++ b/nest/protocol.h
@@ -134,7 +134,7 @@ struct proto {
u32 debug; /* Debugging flags */
u32 mrtdump; /* MRTDump flags */
uint active_channels; /* Number of active channels */
- uint active_coroutines; /* Number of active coroutines */
+ uint active_loops; /* Number of active IO loops */
byte net_type; /* Protocol network type (NET_*), 0 for undefined */
byte disabled; /* Manually disabled */
byte vrf_set; /* Related VRF instance (above) is defined */
@@ -342,7 +342,7 @@ void proto_notify_state(struct proto *p, unsigned state);
*/
static inline int proto_is_inactive(struct proto *p)
-{ return (p->active_channels == 0) && (p->active_coroutines == 0); }
+{ return (p->active_channels == 0) && (p->active_loops == 0); }
/*
diff --git a/nest/rt-table.c b/nest/rt-table.c
index ca092678..65fc142a 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -1984,7 +1984,7 @@ rt_export_stopped(void *data)
/* Reporting the hook as finished. */
CALL(tab->done, hook);
- /* Free the hook together with its coroutine. */
+ /* Free the hook. */
rfree(hook->pool);
}