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

GitHub noreply at github.com
Wed Aug 8 18:03:39 UTC 2018


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