[ovs-git] [openvswitch/ovs] c09cb8: ofproto: Fix consistent hashing

GitHub noreply at github.com
Wed Jul 13 21:25:28 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: c09cb861c0186ce051f46a81d4bd3daa2eeae98f
      https://github.com/openvswitch/ovs/commit/c09cb861c0186ce051f46a81d4bd3daa2eeae98f
  Author: Liran Schour <lirans at il.ibm.com>
  Date:   2016-07-13 (Wed, 13 Jul 2016)

  Changed paths:
    M ofproto/ofproto-dpif-xlate.c

  Log Message:
  -----------
  ofproto: Fix consistent hashing

Hashing will not be consistent as long as we use for hashing the index of the
bucket in the list (for remove/insert of buckets not from/to the end of the
bucket list).
Use bucket_id for hashing instead.

Signed-off-by: Liran Schour <lirans at il.ibm.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Simon Horman <simon.horman at netronome.com>




More information about the git mailing list