[ovs-git] [openvswitch/ovs] 23a312: ofproto: Correctly reject duplicate bucket ID for ...

GitHub noreply at github.com
Wed Nov 25 18:11:07 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 23a3123832b8a9718ac50010c261b76749a06c81
      https://github.com/openvswitch/ovs/commit/23a3123832b8a9718ac50010c261b76749a06c81
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2015-11-25 (Wed, 25 Nov 2015)

  Changed paths:
    M AUTHORS
    M ofproto/ofproto.c
    M tests/ofproto.at

  Log Message:
  -----------
  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>
Reported-at: http://openvswitch.org/pipermail/discuss/2015-September/018731.html
Signed-off-by: Ben Pfaff <blp at ovn.org>
Reviewed-by: Simon Horman <simon.horman at netronome.com>




More information about the git mailing list