If odp_execute_actions() has been called with 'steal' set to true and OVS_ACTION_ATTR_RECIRC as last action, it should allow dp_execute_cb() to steal the packet.
Signed-off-by: Daniele Di Proietto <ddiproie...@vmware.com> --- lib/odp-execute.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/odp-execute.c b/lib/odp-execute.c index 78b1f24..a5fad19 100644 --- a/lib/odp-execute.c +++ b/lib/odp-execute.c @@ -422,8 +422,7 @@ odp_execute_actions__(void *dp, struct dpif_packet **packets, int cnt, /* Allow 'dp_execute_action' to steal the packet data if we do * not need it any more. */ bool may_steal = steal && (!more_actions - && left <= NLA_ALIGN(a->nla_len) - && type != OVS_ACTION_ATTR_RECIRC); + && left <= NLA_ALIGN(a->nla_len)); dp_execute_action(dp, packets, cnt, md, a, may_steal); } break; -- 2.1.0.rc1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev