forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
odp-execute: Refactor odp_execute_{actions, sample}()
Firstly, with this change, the 'more_actions' parameter is removed and is integrated into 'steal'. Then, every function that receives a batch of packets with 'steal' set to true is responsible for freeing the packets. Finally, odp_execute_actions() and odp_execute_actions__() can be be merged. This also fixes a memory leak in odp_execute_sample(), when the subactions are not executed Signed-off-by: Daniele Di Proietto <[email protected]> Acked-by: Jarno Rajahalme <[email protected]>
- Loading branch information
1 parent
0057762
commit 1164afb
Showing
1 changed file
with
29 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters