[ovs-git] [openvswitch/ovs] e1619a: ofctl: Fixup compare_flows function

GitHub noreply at github.com
Wed Aug 8 18:11:54 UTC 2018

  Branch: refs/heads/branch-2.7
  Home:   https://github.com/openvswitch/ovs
  Commit: e1619a1e7a8dded3c7da9ab40bd62a3628478711
  Author: Alin Gabriel Serdean <aserdean at ovn.org>
  Date:   2018-08-08 (Wed, 08 Aug 2018)

  Changed paths:
    M utilities/ovs-ofctl.c

  Log Message:
  ofctl: Fixup compare_flows function

In the case there was no sorting criteria the flows on Windows were being
rearranged because it was always returning zero.

Also check if there we need sorting to save a few cycles.

CC: Ben Pfaff <blp at ovn.org>
Co-authored-by: Ben Pfaff <blp at ovn.org>
Signed-off-by: Alin Gabriel Serdean <aserdean at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>

      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

More information about the git mailing list