When adding handling of untagged changes, it accidentially got added to
the loop processing the vlan diff, causing it to abort after the first
vlan, since it will process all untagged changes, then set done and
abort.
Fix this by moving the untagged_diff handling out of the vlan_diff
handling loop, so they cannot interfere with each other.
Config:
$ bridge vlan show
port vlan-id
swbridge 100
101
102
111
port54 100
101
102
110
111
112
When adding handling of untagged changes, it accidentially got added to the loop processing the vlan diff, causing it to abort after the first vlan, since it will process all untagged changes, then set done and abort.
Fix this by moving the untagged_diff handling out of the vlan_diff handling loop, so they cannot interfere with each other.
Config:
Before:
After:
Fixes: bce2a11 ("nl_bridge: implement processing of untagged changes") Signed-off-by: Jonas Gorski jonas.gorski@bisdn.de
Description
Motivation and Context
How Has This Been Tested?