From f1763852dfbabf60486bd721ec7a6a1bc8dd88c0 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 5 Dec 2023 11:52:44 +0100 Subject: [PATCH] bridge: fix reload on bridge vlan changes config_pending needs to be set even if the bridge is inactive, in order to handle changes to the member list Signed-off-by: Felix Fietkau --- bridge.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bridge.c b/bridge.c index c931923..f400743 100644 --- a/bridge.c +++ b/bridge.c @@ -1391,9 +1391,8 @@ bridge_vlan_update(struct vlist_tree *tree, struct vlist_node *node_new, if (node_new) vlan_new->pending = true; - bst->dev.config_pending = true; - out: + bst->dev.config_pending = true; bridge_vlan_free(vlan_old); } -- 2.30.2