[ovs-git] [openvswitch/ovs] e807a1: flow: fix compilation of MINIFLOW_ASSERT

GitHub noreply at github.com
Tue Jan 12 02:00:41 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: e807a1a63d1176bce97071063fa480eb68662dc6
      https://github.com/openvswitch/ovs/commit/e807a1a63d1176bce97071063fa480eb68662dc6
  Author: Simon Horman <simon.horman at netronome.com>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M lib/flow.c

  Log Message:
  -----------
  flow: fix compilation of MINIFLOW_ASSERT

Often MINIFLOW_ASSERT is a no-op and compilation of code that uses
it is optimised out. This patch fixes compilation errors that occur
when that is not the case:

* FLOWMAP_MAX does not exist. Use MAP_MAP instead.
* FLOWMAP_IS_SET does not exist. Use flowmap_is_set instead.

Signed-off-by: Simon Horman <simon.horman at netronome.com>
Acked-by: Jarno Rajahalme <jarno at ovn.org>




More information about the git mailing list