Code Review
/
samplevnf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
349656d
)
Fix memory leak introduced by 4a65cd84
81/56581/1
author
Xavier Simonart
<xavier.simonart@intel.com>
Mon, 23 Apr 2018 12:19:58 +0000
(14:19 +0200)
committer
Deepak S
<deepak.s@linux.intel.com>
Thu, 26 Apr 2018 09:22:52 +0000
(14:52 +0530)
Change-Id: I937bb38baa51d1902793fa8720a3ea740a583473
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
VNFs/DPPD-PROX/handle_lat.c
patch
|
blob
|
history
diff --git
a/VNFs/DPPD-PROX/handle_lat.c
b/VNFs/DPPD-PROX/handle_lat.c
index
8cc5c32
..
d7706c3
100644
(file)
--- a/
VNFs/DPPD-PROX/handle_lat.c
+++ b/
VNFs/DPPD-PROX/handle_lat.c
@@
-526,8
+526,11
@@
static int handle_lat_bulk(struct task_base *tbase, struct rte_mbuf **mbufs, uin
task->link_speed = task->port->link_speed * 125000L;
plog_info("\tPort %u: link speed is %ld Mbps\n",
(uint8_t)(task->port - prox_port_cfg), 8 * task->link_speed / 1000000);
- } else
+ } else if (n_pkts) {
+ return task->base.tx_pkt(&task->base, mbufs, n_pkts, NULL);
+ } else {
return 0;
+ }
}
if (n_pkts == 0) {