diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-08-31 14:57:34 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-08-31 14:57:34 +0200 |
commit | 9f9f387e14300de1ad517bf57273722c54ba5d7f (patch) | |
tree | a9728be1636b32db15327398d567d3dac63d58b6 | |
parent | 64ea160818e2dc958fa91f80a3a5a9ac40ccc3ba (diff) |
interface: cancel the remove timer on cleanup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r-- | interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |