git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples/ip_pipeline: fix uninitialized KNI parameter
[dpdk.git]
/
examples
/
ip_pipeline
/
cli.c
diff --git
a/examples/ip_pipeline/cli.c
b/examples/ip_pipeline/cli.c
index
6aebae4
..
2f30a6d
100644
(file)
--- a/
examples/ip_pipeline/cli.c
+++ b/
examples/ip_pipeline/cli.c
@@
-653,6
+653,7
@@
cmd_kni(char **tokens,
char *name;
struct kni *kni;
+ memset(&p, 0, sizeof(p));
if ((n_tokens != 6) && (n_tokens != 8)) {
snprintf(out, out_size, MSG_ARG_MISMATCH, tokens[0]);
return;