[PATCH] bonding: get slave name from actual slave instead of param list
authorMitch Williams <mitch.a.williams@intel.com>
Wed, 9 Nov 2005 18:35:21 +0000 (10:35 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Sun, 13 Nov 2005 19:48:19 +0000 (14:48 -0500)
commit0f418b2ac49e97b7b763e0473320a201eec15ed3
tree035d1f855c355371e0b84ea5d22470def2be1a6b
parentc61b75ad03f3a30ef247cac27406f030c10628b0
[PATCH] bonding: get slave name from actual slave instead of param list

Take the primary slave name shown in /proc from the actual slave dev
instead of from the command-line parameter, which won't be present
if the bond is created via sysfs.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Acked-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/bonding/bond_main.c