diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-23 12:34:12 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-23 12:34:12 +0100 |
commit | fb2f843edf44c6f12b636cd82cdd1c71e953495f (patch) | |
tree | 3e20b2ed1de9478aaadf97cee7dd9187a611fcc2 | |
parent | 0b0e5e2fc5b065092644a5c4717c0a03a9098dcf (diff) |
bridge: release failed member devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r-- | bridge.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -180,6 +180,8 @@ error: bst->n_failed++; bm->present = false; bst->n_present--; + device_release(&bm->dev); + return ret; } |