diff options
-rw-r--r-- | bridge.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -447,6 +447,8 @@ bridge_free_member(struct bridge_member *bm) } } + device_lock(); + device_remove_user(&bm->dev); /* @@ -461,6 +463,8 @@ bridge_free_member(struct bridge_member *bm) device_set_present(dev, true); } + device_unlock(); + free(bm); } |