commit | ece95f7fefe3afae19e641e1b3f5e64b00d5b948 | [log] [tgz] |
---|---|---|
author | Jay Vosburgh <fubar@us.ibm.com> | Thu Jan 17 16:25:01 2008 -0800 |
committer | Jeff Garzik <jeff@garzik.org> | Fri Jan 18 14:38:38 2008 -0500 |
tree | ea3846fa640e0c3ed4d4233ac005b653dcf69824 | |
parent | 3b96c858fcb27120fcba222366180c3293393ccf [diff] |
bonding: Fix up parameter parsing A recent change to add an additional hash policy modified bond_parse_parm, but it now does not correctly match parameters passed in via sysfs. Rewrote bond_parse_parm to handle (a) parameter matches that are substrings of one another and (b) user input with whitespace (e.g., sysfs input often has a trailing newline). Signed-off-by: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>