[ovs-git] Open vSwitch: ofproto-dpif: Restore optimization for no-actions case (without leak). (master)

dev at openvswitch.org dev at openvswitch.org
Mon Jan 16 13:14:02 PST 2012

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  8338659aa5a02421959bece64f6233216de6a101 (commit)
      from  19a79607446350abd1692da317644c36b6df192f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8338659aa5a02421959bece64f6233216de6a101
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8338659aa5a02421959bece64f6233216de6a101
Author: Ben Pfaff <blp at nicira.com>
ofproto-dpif: Restore optimization for no-actions case (without leak).
Commit 968131c1809 (ofproto-dpif: Omit "execute" operation entirely when
there are no actions.) introduced an optimization for the case where a
flow translated to ODP actions had no actions at all (i.e. the packet is
to be dropped).  It also introduced a memory leak (the packet was not

Commit 999fba59afd (ofproto-dpif: Implement PACKET_IN in userspace.)
inadvertently removed the optimization and as a side effect fixed the
memory leak.

This commit restores the optimization but not the memory leak.

Signed-off-by: Ben Pfaff <blp at nicira.com>


Summary of changes:
 ofproto/ofproto-dpif.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

Open vSwitch

More information about the git mailing list