commit | 5b9ea6e022e9ba0fe39cb349ac40361f78d5da5b | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jpirko@redhat.com> | Thu Dec 08 04:11:18 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 08 19:52:42 2011 -0500 |
tree | 11f0de492ee799fd4174f79ac6aae4c3533beb25 | |
parent | 87002b03baabd2b8f6281ab6411ed88d24958de1 [diff] |
vlan: introduce vid list with reference counting This allows to keep track of vids needed to be in rx vlan filters of devices even if they are used in bond/team etc. vlan_info as well as vlan_group previously was, is allocated when first vid is added and dealocated whan last vid is deleted. vlan_group definition is moved to private header. Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>