projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3fab01
)
vlandev: propagate topology changes
author
Felix Fietkau
<nbd@nbd.name>
Fri, 30 Dec 2022 14:16:50 +0000
(15:16 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 30 Dec 2022 14:16:52 +0000
(15:16 +0100)
Same as vlan
Signed-off-by: Felix Fietkau <nbd@nbd.name>
vlandev.c
patch
|
blob
|
history
diff --git
a/vlandev.c
b/vlandev.c
index 31b82b18335a26ef90d2cbf5f161d457a5fa043d..d93d2b3c5aab459afba9e17f0d51ec98ef5ef6c5 100644
(file)
--- a/
vlandev.c
+++ b/
vlandev.c
@@
-139,6
+139,10
@@
vlandev_base_cb(struct device_user *dev, enum device_event ev)
case DEV_EVENT_UPDATE_IFNAME:
vlandev_hotplug_check(mvdev);
break;
+ case DEV_EVENT_TOPO_CHANGE:
+ /* Propagate topo changes */
+ device_broadcast_event(&mvdev->dev, DEV_EVENT_TOPO_CHANGE);
+ break;
default:
return;
}