bridge: fix regression in bringing up bridge ports
authorFelix Fietkau <nbd@nbd.name>
Mon, 26 Jul 2021 18:39:17 +0000 (20:39 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 26 Jul 2021 18:39:58 +0000 (20:39 +0200)
commit440eb0647708274cc8d7d9e7c2bb0cfdfba90023
tree6fe7fede7031efb8580818fd60d24b0a2322bb6e
parent17e453bd68b41780b6564dafa8358efc29a00930
bridge: fix regression in bringing up bridge ports

Move the DEV_EVENT_LINK_UP case to avoid messing with a fallthrough
Only restart members if the vlan check returns a positive result

Fixes: 85f01c44a950 ("bridge: check bridge port vlan membership on link-up events")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
bridge.c