Comment 10 for bug 1580855

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

Reviewed: https://review.opencontrail.org/22138
Committed: http://github.org/Juniper/contrail-vrouter/commit/97a3556e76f1b1fa16b2b37c3ba273e853aeb44c
Submitter: Zuul
Branch: master

commit 97a3556e76f1b1fa16b2b37c3ba273e853aeb44c
Author: Anand H. Krishnan <email address hidden>
Date: Fri May 13 16:29:24 2016 +0530

Do not allow agent to modify a "NEW" flow

The "NEW" flag is set whenever a flow becomes active and is in
the transient state. If agent tries to modify the entry in that
state, a possibility because of reuse of an entry due to
eviction, a condition could happen where the flags used by datapath
could come from the flags set by agent, more specifically the
Modified flag, and thus be in a state where nothing can be done
in the entry. Hence, prevent agent from acting upon NEW flows.

Change-Id: I017fd7d32f0488cef90a17c491c6021bbdd181c7
Closes-BUG: #1580855