From: Jay Vosburgh Date: Fri, 18 Jan 2008 00:25:01 +0000 (-0800) Subject: bonding: Fix up parameter parsing X-Git-Tag: v2.6.24~41^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ece95f7fefe3afae19e641e1b3f5e64b00d5b948;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed