• J
    bonding: Fix up parameter parsing · ece95f7f
    Jay Vosburgh 提交于
    	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: NJay Vosburgh <fubar@us.ibm.com>
    Signed-off-by: NJeff Garzik <jeff@garzik.org>
    ece95f7f
bond_main.c 130.7 KB