Skip to content
  • Jay Vosburgh's avatar
    bonding: Fix up parameter parsing · ece95f7f
    Jay Vosburgh authored
    
    
    	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: default avatarJay Vosburgh <fubar@us.ibm.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    ece95f7f