projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52c919d
)
interface: always delete l3 dev on proto down
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 5 Apr 2014 17:58:01 +0000
(19:58 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 5 Apr 2014 18:09:05 +0000
(20:09 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index fa8e55e1060896758c7696a9325630f90e36a5d5..7104750e27d9fdb25a31f045115a6661acf2ad65 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-592,6
+592,8
@@
interface_proto_cb(struct interface_proto_state *state, enum interface_proto_eve
mark_interface_down(iface);
if (iface->main_dev.dev)
device_release(&iface->main_dev);
+ if (iface->l3_dev.dev)
+ device_remove_user(&iface->l3_dev);
interface_handle_config_change(iface);
break;
case IFPEV_LINK_LOST: