bonding: Fix alb mode to only use first level vlans.
authorVlad Yasevich <vyasevic@redhat.com>
Fri, 16 May 2014 21:20:39 +0000 (17:20 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 May 2014 02:29:05 +0000 (22:29 -0400)
commitf60c3704e87d39356d00c71bf51e55c2c55ad4f5
treec9c13fc99aaa8f2c62d21b5ffbb1ece6d1a2c00b
parent44a4085538c844e79d6ee6bcf46fabf7c57a9a38
bonding: Fix alb mode to only use first level vlans.

ALB/TLB learning packets use all vlans configured on top
of the bond.  This ends up being incorrect if we have a stack
of vlans on top of the bond.  ALB/TLB should only use
first level/outer most vlans in its announcements.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_alb.c