[ovs-git] [ovn-org/ovn] d299a2: northd: Reduce number of logical flow allocations.

Dumitru Ceara noreply at github.com
Tue Jun 15 16:12:07 UTC 2021

  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: d299a255823a4c02fd7c6e6a462309171c9d03b1
  Author: Dumitru Ceara <dceara at redhat.com>
  Date:   2021-06-15 (Tue, 15 Jun 2021)

  Changed paths:
    M northd/ovn-northd.c

  Log Message:
  northd: Reduce number of logical flow allocations.

There's no need to allocate a logical flow structure if we're going to
merge it to an existing one that refers to a datapath group.

This saves a lot of xstrdup() calls followed immediately by free().

Reported-at: https://bugzilla.redhat.com/1962818
Signed-off-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>

More information about the git mailing list