[ovs-git] [openvswitch/ovs] 23a312: ofproto: Correctly reject duplicate bucket ID for ...
noreply at github.com
Wed Nov 25 18:11:07 UTC 2015
Author: Ben Pfaff <blp at ovn.org>
Date: 2015-11-25 (Wed, 25 Nov 2015)
ofproto: Correctly reject duplicate bucket ID for OFPGC_INSERT_BUCKET.
Otherwise duplicate bucket IDs cause linked list loops and other nastiness
because the ofputil_bucket_find() in the OFPG15_BUCKET_LAST case later in
copy_buckets_for_insert_bucket() will find the new bucket instead of the
old one and the list_splice() call becomes nonsensical.
Reported-by: Ray Li <rayli1107 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Reviewed-by: Simon Horman <simon.horman at netronome.com>
More information about the git