From 2c33e2a81e747b519c47ec90f598055398288a4b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 9 Oct 2015 12:10:49 +0200 Subject: [PATCH] ss7: Mark the link as down after the shutdown --- src/ss7_application.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ss7_application.c b/src/ss7_application.c index d85a818..9921e7c 100644 --- a/src/ss7_application.c +++ b/src/ss7_application.c @@ -369,8 +369,10 @@ static void shutdown_set(struct mtp_link_set *set) if (!set) return; - llist_for_each_entry(link, &set->links, entry) + llist_for_each_entry(link, &set->links, entry) { link->shutdown(link); + mtp_link_down(link); + } } int ss7_application_start(struct ss7_application *app)