Skip to content

Commit

Permalink
ofproto-dpif-rid: Update comment for recirc_alloc_id__().
Browse files Browse the repository at this point in the history
The hash is not recomputed if it is passed in as 0.

Signed-off-by: Justin Pettit <jpettit@ovn.org>
Acked-by: Jarno Rajahalme <jarno@ovn.org>
  • Loading branch information
justinpettit committed Mar 23, 2017
1 parent efc4afb commit 9526303
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ofproto/ofproto-dpif-rid.c
Expand Up @@ -216,8 +216,7 @@ frozen_state_free(struct frozen_state *state)

/* Allocate a unique recirculation id for the given set of flow metadata.
* The ID space is 2^^32, so there should never be a situation in which all
* the IDs are used up. We loop until we find a free one.
* hash is recomputed if it is passed in as 0. */
* the IDs are used up. We loop until we find a free one. */
static struct recirc_id_node *
recirc_alloc_id__(const struct frozen_state *state, uint32_t hash)
{
Expand Down

0 comments on commit 9526303

Please sign in to comment.