Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cnetlink: only check bridge for vlan_filtering on creation
We don't need to check for vlan_filtering being enabled every time we attach a port to the bridge, only on the first attachement of a port to the bridge. We don't handle vlan_filtering state changes, so even if it was disabled later, we wouldn't be able to do anything about it. So let's only check the state once when populating cnetlink::bridge. Fixes: f93b9b5 ("cnetlink: just ignore bridges with unsupported configuration") Signed-off-by: Jonas Gorski <[email protected]>
- Loading branch information