It doesn't improve the hashing, since the number of bytes hashed is included in hash_bytes64() hash calculation.
Signed-off-by: Justin Pettit <jpet...@ovn.org> --- ofproto/ofproto-dpif-rid.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ofproto/ofproto-dpif-rid.c b/ofproto/ofproto-dpif-rid.c index d546b150b938..cc08772ce72a 100644 --- a/ofproto/ofproto-dpif-rid.c +++ b/ofproto/ofproto-dpif-rid.c @@ -141,7 +141,6 @@ frozen_state_hash(const struct frozen_state *state) hash = hash_bytes(state->stack, state->stack_size, hash); } hash = hash_int(state->mirrors, hash); - hash = hash_int(state->action_set_len, hash); if (state->action_set_len) { hash = hash_bytes64(ALIGNED_CAST(const uint64_t *, state->action_set), state->action_set_len, hash); -- 2.7.4 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev