projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix use-after-free when an interface event is pending while the interface is being...
[project/netifd.git]
/
interface.c
diff --git
a/interface.c
b/interface.c
index
d749896
..
0aa5c5a
100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-242,6
+242,7
@@
interface_cleanup(struct interface *iface, bool reload)
list_for_each_entry_safe(dep, tmp, &iface->users, list)
interface_remove_user(dep);
+ interface_dequeue_event(iface);
interface_ip_flush(&iface->config_ip);
interface_flush_state(iface);
interface_clear_errors(iface);