bonding: Fix ALB mode to balance traffic on VLANs
authorJay Vosburgh <fubar@us.ibm.com>
Wed, 5 Nov 2008 01:51:15 +0000 (17:51 -0800)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 6 Nov 2008 05:49:40 +0000 (00:49 -0500)
commit6146b1a4da98377e4abddc91ba5856bef8f23f1e
tree1082fdb4b0a92d85ec60666f2c8d29ab3fef9ebe
parent305d552accae6afb859c493ebc7d98ca3371dae2
bonding: Fix ALB mode to balance traffic on VLANs

The current ALB function that processes incoming ARPs
does not handle traffic for VLANs configured above bonding.  This causes
traffic on those VLANs to all be assigned the same slave.  This patch
corrects that misbehavior by locating the bonding interface nested below
the VLAN interface.

Bug reported by Sven Anders <anders@anduras.de>, who also
tested an earlier version of this patch and confirmed that it resolved
the problem.

Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/bonding/bond_alb.c