team: use vlan_vids_[addr/del]_by_dev
authorJiri Pirko <jpirko@redhat.com>
Thu, 8 Dec 2011 04:11:20 +0000 (04:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Dec 2011 00:52:43 +0000 (19:52 -0500)
commit57459185a19b0246866479522b77cbb9732201d1
tree75a0d4ea2b0024428f5f519ab16a5b537d482e62
parent348a1443cc4303c72cf1ee3b26e476fec8e7b5fa
team: use vlan_vids_[addr/del]_by_dev

So far when vlan id was added to team device befor port was added, this
vid was not added to port's vlan filter. Also after removal, vid stayed
in port device's vlan filter. Benefit of new vlan functions to handle
this work.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c