summaryrefslogtreecommitdiffstats
path: root/src/flow_stat.cpp
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2016-06-26 17:41:29 +0300
committerIdo Barnea <ibarnea@cisco.com>2016-06-26 17:41:40 +0300
commit8635fce7827e0ee75a2fe032e8dce139a746e1c4 (patch)
tree40d37845da515af708ceb651b44c65d0c71cd762 /src/flow_stat.cpp
parent582e6dddb5693d5fa7576c19b0ef7c1c0723ff59 (diff)
Fx trex-216 - Crash on VM setups when running latency flows
Diffstat (limited to 'src/flow_stat.cpp')
-rw-r--r--src/flow_stat.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/flow_stat.cpp b/src/flow_stat.cpp
index cb7a1bf9..5503434f 100644
--- a/src/flow_stat.cpp
+++ b/src/flow_stat.cpp
@@ -784,10 +784,6 @@ int CFlowStatRuleMgr::start_stream(TrexStream * stream) {
m_parser->set_ip_id(IP_ID_RESERVE_BASE + hw_id);
stream->m_rx_check.m_hw_id = hw_id;
} else {
- struct flow_stat_payload_header *fsp_head = (struct flow_stat_payload_header *)
- (stream->m_pkt.binary + stream->m_pkt.len - sizeof(struct flow_stat_payload_header));
- fsp_head->hw_id = hw_id;
- fsp_head->magic = FLOW_STAT_PAYLOAD_MAGIC;
m_parser->set_ip_id(FLOW_STAT_PAYLOAD_IP_ID);
// for payload rules, we use the range right after ip id rules
stream->m_rx_check.m_hw_id = hw_id + MAX_FLOW_STATS;