diff --git a/nest/rt-attr.c b/nest/rt-attr.c index 329949c2..a0f7d571 100644 --- a/nest/rt-attr.c +++ b/nest/rt-attr.c @@ -342,6 +342,9 @@ rt_find_source_global(u32 id) static inline void rt_done_sources(struct rte_owner *o) { + RTA_LOCK; + HASH_FREE(o->hash); + RTA_UNLOCK; ev_send(o->list, o->stop); }