]> Pileus Git - ~andy/linux/commit
[PATCH] bonding: Fix primary selection error at enslavement time
authorJay Vosburgh <fubar@us.ibm.com>
Sat, 23 Sep 2006 04:56:15 +0000 (21:56 -0700)
committerJeff Garzik <jeff@garzik.org>
Tue, 26 Sep 2006 00:08:09 +0000 (20:08 -0400)
commit8a8e447b2aa1f9139d0bfc94a2a3426be9c8d40a
tree154d0eae23c8a90f7c260e9dd513b0acb898828c
parent89cc76f95af3608d83a1d70b3c76b71ffe66e1f7
[PATCH] bonding: Fix primary selection error at enslavement time

At enslavement time, the primary slave might not be activated if
there is already an active slave and the new slave is the primary.
Replaced complicated logic with a call to bond_select_active_slave(),
which does the right thing.

Fixes http://bugzilla.kernel.org/show_bug.cgi?id=6378

Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/bonding/bond_main.c