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

GitHub noreply at github.com
Wed Aug 8 18:10:14 UTC 2018


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: 59c0ba2990b7149ba42bb34b76cbe27b9cbed0e9
      https://github.com/openvswitch/ovs/commit/59c0ba2990b7149ba42bb34b76cbe27b9cbed0e9
  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