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

GitHub noreply at github.com
Wed Aug 8 18:02:56 UTC 2018

  Branch: refs/heads/branch-2.10
  Home:   https://github.com/openvswitch/ovs
  Commit: af3b6305144374ed9e05900d4cb40a0c3a621c54
  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