summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2015-12-07 04:35:26 -0500
committerimarom <imarom@cisco.com>2015-12-07 09:09:59 -0500
commit3c87156e57ba46fa725ed19bd33ca8b26afa25f7 (patch)
treeb20839ce08e05b4a2183ea5f964b7c4cdcb4b270
parentb420c37087df630bcc0f97baccd073b838517b46 (diff)
fixed for Ubunutu compiler (more strict)
-rw-r--r--src/latency.cpp4
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);
}