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

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


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 111b58cc7921e54caa384851c2f11c066014a49b
      https://github.com/openvswitch/ovs/commit/111b58cc7921e54caa384851c2f11c066014a49b
  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