)]}' { "commit": "f7a45e09555145378bdcdb5d074472ae716803ca", "tree": "9b837bc0e8966cc5a3027973b351c5de765b5b4a", "parents": [ "4806867a6cc2950293229e66efe88061323ca0cf" ], "author": { "name": "Michal Kubeček", "email": "mkubecek@suse.cz", "time": "Thu Feb 13 17:31:59 2014 +0100" }, "committer": { "name": "Stephen Hemminger", "email": "stephen@networkplumber.org", "time": "Mon Feb 17 10:58:56 2014 -0800" }, "message": "iplink_bond: fix parameter value matching\n\nLookup function get_index() compares argument with table entries\nonly up to the length of the table entry so that if an entry\nwith lower index is a substring of a later one, earlier entry is\nused even if the argument is equal to the other. For example,\n\n ip link set bond0 type bond xmit_hash_policy layer2+3\n\nsets xmit_hash_policy to 0 (layer2) as this is found before\n\"layer2+3\" can be checked.\n\nUse strcmp() to compare whole strings instead.\n\nv2: look for an exact match only\n\nSigned-off-by: Michal Kubecek \u003cmkubecek@suse.cz\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "f22151e2e9dce628b6c99148dd16edeb8d4e222e", "old_mode": 33188, "old_path": "ip/iplink_bond.c", "new_id": "7a950df9679726b3a8867a71b007f7b220e0d87d", "new_mode": 33188, "new_path": "ip/iplink_bond.c" } ] }