]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd7ac61be291f9ba56c59edf5aec714848a7c3294
tree1082fdb4b0a92d85ec60666f2c8d29ab3fef9ebe
parent733c64745dd470488f85b894af768fc9d737263f
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