From 1518970c128e6ab68884a7f49e09e2dc2a5d9fe3 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Wed, 14 Sep 2022 09:59:45 +0200 Subject: 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. --- proto/radv/radv.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'proto/radv') 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 -- cgit v1.2.3