From 9f9f387e14300de1ad517bf57273722c54ba5d7f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 31 Aug 2014 14:57:34 +0200 Subject: interface: cancel the remove timer on cleanup Signed-off-by: Felix Fietkau --- interface.c | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3