Skip to content

Commit

Permalink
Merge "Disable Eviction of flow in Vrouter" into R3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Feb 28, 2016
2 parents ce86dd4 + d44296e commit 1696925
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dp-core/vr_flow.c
Expand Up @@ -810,8 +810,19 @@ vr_flow_action(struct vrouter *router, struct vr_flow_entry *fe,
break;
}

/*
* Eviction of Flow in vrouter add additional events to vrouter
* agent state machine making it complex and unstable, till
* agent is handling vrouter eviction appropriately, disabling
* eviction from vrouter.
* NOTE: Vrouter agent will look at VR_FLOW_TCP_DEAD flag to
* clear/evict flow immediately
* TODO(prabhjot): need to re-enable, after stablizing agent
*/
#if 0
if (fe->fe_tcp_flags & VR_FLOW_TCP_DEAD)
vr_flow_mark_evict(router, fe, index);
#endif

return result;
}
Expand Down

0 comments on commit 1696925

Please sign in to comment.