bonding: fix parameter parsing
authorJay Vosburgh <fubar@us.ibm.com>
Wed, 30 Jan 2008 02:07:43 +0000 (18:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Feb 2008 12:28:11 +0000 (04:28 -0800)
commita42e534f1b6be7f2f68f83d29588c3f2736b4d25
tree5a5d0ef85a0c71e4c290c130ee99b1b5beea5cfc
parentc800c5c9db9c621b2c1d70c3ae6532fafe2db69d
bonding: fix parameter parsing

My last fix (commit ece95f7fefe3afae19e641e1b3f5e64b00d5b948)
didn't handle one case correctly.  This resolves that, and it will now
correctly parse parameters with arbitrary white space, and either text
names or mode values.

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