From: Felix Fietkau Date: Sun, 31 Aug 2014 12:57:34 +0000 (+0200) Subject: interface: cancel the remove timer on cleanup X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9f9f387e14300de1ad517bf57273722c54ba5d7f;p=oweals%2Fnetifd.git interface: cancel the remove timer on cleanup Signed-off-by: Felix Fietkau --- diff --git a/interface.c b/interface.c index 8627d97..df04ce3 100644 --- a/interface.c +++ b/interface.c @@ -527,6 +527,7 @@ interface_cleanup(struct interface *iface) { struct interface_user *dep, *tmp; + uloop_timeout_cancel(&iface->remove_timer); device_remove_user(&iface->ext_dev); if (iface->parent_iface.iface)