summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2018-01-02 08:25:06 -0800
committerBen Pfaff <blp@ovn.org>2018-01-02 08:27:07 -0800
commiteb59b17703217270d77080a4b1cecfa50817933a (patch)
treeffd94e7de8a31710442cd3d123b79849c66082f2
parent692086c5a2570b1ee2a5978969ee49ec38eb2e6a (diff)
downloadopenvswitch-eb59b17703217270d77080a4b1cecfa50817933a.tar.gz
Revert "dpif: Fix memory leak"
This reverts commit 510a695605d2b15c01883ca8923d466c83abe5bd, because that introduced a use of dp_packet_delete_batch() which is not defined in this version of OVS. Reported-by: Huanle Han <hanxueluo@gmail.com> Reported-at: https://github.com/openvswitch/ovs/commit/510a695605d2b15c01883ca8923d466c83abe5bd#commitcomment-26531593 Signed-off-by: Ben Pfaff <blp@ovn.org>
-rw-r--r--lib/dpif.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/dpif.c b/lib/dpif.c
index 2b0ab6e7d..3e9653771 100644
--- a/lib/dpif.c
+++ b/lib/dpif.c
@@ -1150,7 +1150,6 @@ dpif_execute_helper_cb(void *aux_, struct dp_packet **packets, int cnt,
case __OVS_ACTION_ATTR_MAX:
OVS_NOT_REACHED();
}
- dp_packet_delete_batch(packets_, may_steal);
}
/* Executes 'execute' by performing most of the actions in userspace and