Skip to content

Commit

Permalink
Use the correct flow handler task instance.
Browse files Browse the repository at this point in the history
Change-Id: If8ce2785478f944045b026f58ced7cd7ff1f452d
closes-bug: 1519743
  • Loading branch information
haripk committed Nov 27, 2015
1 parent 2213f5f commit a316f05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/vnsw/agent/pkt/flow_table.cc
Expand Up @@ -3670,8 +3670,9 @@ FlowTable::FlowTable(Agent *agent) :
inet4_route_key_(NULL, Ip4Address(), 32, false),
inet6_route_key_(NULL, Ip6Address(), 128, false),
delete_queue_(new WorkQueue<FlowKey>(
TaskScheduler::GetInstance()->GetTaskId("Agent::FlowHandler"), 0,
boost::bind(&FlowTable::FlowDelete, this, _1))) {
TaskScheduler::GetInstance()->GetTaskId("Agent::FlowHandler"),
PktHandler::FLOW,
boost::bind(&FlowTable::FlowDelete, this, _1))) {
max_vm_flows_ = (uint32_t)
(agent->ksync()->flowtable_ksync_obj()->flow_table_entries_count() *
agent->params()->max_vm_flows()) / 100;
Expand Down

0 comments on commit a316f05

Please sign in to comment.