[ovs-git] [openvswitch/ovs] c7ecbf: ofp-parse: Correctly update bucket lists if they a...
noreply at github.com
Fri Feb 13 22:31:42 UTC 2015
Author: Ben Pfaff <blp at nicira.com>
Date: 2015-02-13 (Fri, 13 Feb 2015)
ofp-parse: Correctly update bucket lists if they are empty.
Previously, list_moved() only worked with non-empty lists, but this was a
caveat that was really easy to miss. parse_ofp_group_mod_file() had a bug
because it didn't honor that restriction. This commit fixes the problem,
by modifying the list_moved() interface to be harder to use incorrectly
and then updating the callers.
Reported-by: Simon Horman <simon.horman at netronome.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Thomas Graf <tgraf at noironetworks.com>
More information about the git