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:40 -0800
commit4f4eaa6ec15966b1a07ea2c5e788869593bddb9f (patch)
tree78043ff2f5606eef9e9f4173cec463f0cf6befe0
parentd660cb25182f8e46b3eaf443481d9d6b062380cd (diff)
downloadopenvswitch-4f4eaa6ec15966b1a07ea2c5e788869593bddb9f.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 784c85113..783a715fb 100644
--- a/lib/dpif.c
+++ b/lib/dpif.c
@@ -1145,7 +1145,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