]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit845720bb88a1c96ebde6d8cbc0c082fb218b8b28
treec9c13fc99aaa8f2c62d21b5ffbb1ece6d1a2c00b
parentfef4a3290cb0108183fddd664f9d4eda1e478bbf
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