From 444096b27c9f70574f6d023c70860d62e2bd395a Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Wed, 16 Nov 2016 11:46:30 +0100 Subject: irmd: Fix shutdown The IRMd should not send messages to the IPCPs after its mainloop terminated. IPCPs should cleanup al state when they get the SIGTERM. --- src/irmd/main.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/irmd/main.c') diff --git a/src/irmd/main.c b/src/irmd/main.c index 6e3f952f..e52ef4da 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -1580,7 +1580,6 @@ static void irm_destroy(void) list_for_each_safe(p, h, &irmd->irm_flows) { struct irm_flow * f = list_entry(p, struct irm_flow, next); list_del(&f->next); - ipcp_flow_dealloc(f->n_1_api, f->port_id); irm_flow_destroy(f); } -- cgit v1.2.3