diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-03 03:08:19 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-03 03:08:22 +0200 |
commit | 9bebe7d7bc94667c793d1956e2960163dee75e51 (patch) | |
tree | 67429685b1d3f0eda2275c444c299d0d92003e9f | |
parent | 086effa8d06c721a993d1d324b54f8dcc97f416e (diff) |
bridge: add missing device cleanup
-rw-r--r-- | bridge.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -281,6 +281,7 @@ bridge_free(struct device *dev) struct bridge_state *bst; struct bridge_member *bm; + device_cleanup(dev); bst = container_of(dev, struct bridge_state, dev); while (!list_empty(&bst->members)) { bm = list_first_entry(&bst->members, struct bridge_member, list); |