Comment 3 for bug 1425992

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/8139
Committed: http://github.org/Juniper/contrail-vrouter/commit/251eb2b6ad31fd739d8503573a5dbccfc7727cdf
Submitter: Zuul
Branch: R2.0

commit 251eb2b6ad31fd739d8503573a5dbccfc7727cdf
Author: Anand H. Krishnan <email address hidden>
Date: Thu Feb 26 21:11:16 2015 +0530

Allocate hold array when the action is set as 'hold' in the flow table entry

HOLD is an action that is allowed to be set in a flow entry. Agent can set HOLD
as action and expect the first packet to be trapped. To hold packets in an
entry there needs to be hold list (an array, rather). While this hold list is
allocated when a new flow is created by kernel, the hold list is freed once all
the cached packets are flushed. A subsequent 'HOLD' set needs to have the hold
list allocated so that packets can be cached.

Closes BUG: #1425992

Change-Id: Ic32a03f402278a351c72cb6a4f72bafdaad2149c