diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2015-10-02 16:05:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-05 02:43:50 +0300 |
commit | 6be144f62f64c8a67e11b2f8b86c7bf390b87411 (patch) | |
tree | 017c1d62972036289cbb2111e1321471e0930353 /firmware/cpia2 | |
parent | 2ffdf508d278d48ccb928238846df352db21f4eb (diff) | |
download | linux-6be144f62f64c8a67e11b2f8b86c7bf390b87411.tar.xz |
bridge: vlan: use br_vlan_should_use to simplify __vlan_add/del
The checks that lead to num_vlans change are always what
br_vlan_should_use checks for, namely if the vlan is only a context or
not and depending on that it's either not counted or counted
as a real/used vlan respectively.
Also give better explanation in br_vlan_should_use's comment.
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/cpia2')
0 files changed, 0 insertions, 0 deletions