From 7889f0c25b3457fe1df464de3c109c3e59c1493f Mon Sep 17 00:00:00 2001 From: Katerina Kubecova Date: Wed, 13 Nov 2024 15:45:09 +0100 Subject: [PATCH] Neighbor locking: forgotten neighbors to unlink are actually a bug. These may cause runaway pointers. --- nest/iface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nest/iface.c b/nest/iface.c index 3d1483ac..897948ac 100644 --- a/nest/iface.c +++ b/nest/iface.c @@ -684,7 +684,7 @@ iface_unsubscribe(struct iface_subscription *s) WALK_TLIST_DELSAFE(proto_neigh, n, &p->neighbors) { - log(L_WARN "%s: Unlinking forgotten neighbor %I", p->name, n->addr); + bug("%s: Unlinking forgotten neighbor %I", p->name, n->addr); neigh_unlink_locked(n); }