From 9f17f104fe789b0ae803a2a45bba63057a73b116 Mon Sep 17 00:00:00 2001 From: Darrell Ball Date: Wed, 13 Feb 2019 15:34:20 -0800 Subject: dp-packet: Add 'do_not_steal' packet batch flag. This is needed in a subsequent patch and may otherwise be useful. Signed-off-by: Darrell Ball Signed-off-by: Ben Pfaff --- lib/dpif-netdev.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/dpif-netdev.c') diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 481ef5049..f41f1d70d 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -3717,6 +3717,7 @@ dpif_netdev_execute(struct dpif *dpif, struct dpif_execute *execute) } dp_packet_batch_init_packet(&pp, execute->packet); + pp.do_not_steal = true; dp_netdev_execute_actions(pmd, &pp, false, execute->flow, execute->actions, execute->actions_len); dp_netdev_pmd_flush_output_packets(pmd, true); -- cgit v1.2.1