diff options
author | 2015-12-07 04:35:26 -0500 | |
---|---|---|
committer | 2015-12-07 09:09:59 -0500 | |
commit | 3c87156e57ba46fa725ed19bd33ca8b26afa25f7 (patch) | |
tree | b20839ce08e05b4a2183ea5f964b7c4cdcb4b270 /src | |
parent | b420c37087df630bcc0f97baccd073b838517b46 (diff) |
fixed for Ubunutu compiler (more strict)
Diffstat (limited to 'src')
-rw-r--r-- | src/latency.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/latency.cpp b/src/latency.cpp index 01b6e9d3..02b54f75 100644 --- a/src/latency.cpp +++ b/src/latency.cpp @@ -615,11 +615,13 @@ void CLatencyManager::wait_for_rx_dump(){ void CLatencyManager::handle_rx_pkt(CLatencyManagerPerPort * lp, rte_mbuf_t * m){ - CRx_check_header *rxc=NULL; + CRx_check_header *rxc = NULL; + lp->m_port.check_packet(m,rxc); if ( unlikely(rxc!=NULL) ){ m_rx_check_manager.handle_packet(rxc); } + rte_pktmbuf_free(m); } |