summaryrefslogtreecommitdiff
path: root/proto/radv/radv.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-09-14 09:59:45 +0200
committerMaria Matejka <mq@ucw.cz>2022-09-14 09:59:45 +0200
commit1518970c128e6ab68884a7f49e09e2dc2a5d9fe3 (patch)
tree37abff70b2edc5fcc34b6f93f75abcbd7bfa335f /proto/radv/radv.c
parent878eeec12bf020c9e7460040d225a929bbbd2bd2 (diff)
Revert "Routing tables now have their own loops."
This reverts commit 878eeec12bf020c9e7460040d225a929bbbd2bd2. These changes have been done in a different way in the other branch of the future merge.
Diffstat (limited to 'proto/radv/radv.c')
-rw-r--r--proto/radv/radv.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/proto/radv/radv.c b/proto/radv/radv.c
index d572c1b7..fa228c69 100644
--- a/proto/radv/radv.c
+++ b/proto/radv/radv.c
@@ -555,10 +555,7 @@ radv_check_active(struct radv_proto *p)
return 1;
struct channel *c = p->p.main_channel;
- RT_LOCK(c->table);
- int active = rt_examine(RT_PRIV(c->table), &cf->trigger, c, c->out_filter);
- RT_UNLOCK(c->table);
- return active;
+ return rt_examine(c->table, &cf->trigger, c, c->out_filter);
}
static void