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:
25ffc70
)
Fix potential crash when issuing "tx distr stop" command.
47/50047/1
author
Xavier Simonart
<xavier.simonart@intel.com>
Thu, 4 Jan 2018 15:29:04 +0000
(16:29 +0100)
committer
Xavier Simonart
<xavier.simonart@intel.com>
Thu, 4 Jan 2018 15:30:01 +0000
(16:30 +0100)
Change-Id: I9ef89020d203674f6c3301653ab2ff9d623665b6
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
VNFs/DPPD-PROX/lconf.c
patch
|
blob
|
history
diff --git
a/VNFs/DPPD-PROX/lconf.c
b/VNFs/DPPD-PROX/lconf.c
index
399c8a7
..
682c106
100644
(file)
--- a/
VNFs/DPPD-PROX/lconf.c
+++ b/
VNFs/DPPD-PROX/lconf.c
@@
-307,10
+307,10
@@
int lconf_do_flags(struct lcore_cfg *lconf)
t = lconf->tasks_all[task_id];
if (t->aux->tx_pkt_orig) {
if (t->tx_pkt == tx_pkt_l3) {
- t->
tx_pkt
= t->aux->tx_pkt_orig;
+ t->
aux->tx_pkt_l2
= t->aux->tx_pkt_orig;
t->aux->tx_pkt_orig = NULL;
} else {
- t->
aux->tx_pkt_l2
= t->aux->tx_pkt_orig;
+ t->
tx_pkt
= t->aux->tx_pkt_orig;
t->aux->tx_pkt_orig = NULL;
}
lconf->flags &= ~LCONF_FLAG_TX_DISTR_ACTIVE;