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:
0b0e5e2
)
bridge: release failed member devices
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 23 Jan 2015 11:34:12 +0000
(12:34 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 23 Jan 2015 11:34:12 +0000
(12:34 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
bridge.c
patch
|
blob
|
history
diff --git
a/bridge.c
b/bridge.c
index d0cb0488b7eb93bab5e7150f48bd31b9a4aabc11..4291e7c1af9d00a1b6562fee2ff4e4264de30e97 100644
(file)
--- a/
bridge.c
+++ b/
bridge.c
@@
-180,6
+180,8
@@
error:
bst->n_failed++;
bm->present = false;
bst->n_present--;
+ device_release(&bm->dev);
+
return ret;
}