aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2019-09-11 10:21:17 +0200
committerDave Barach <openvpp@barachs.net>2019-09-11 17:08:54 +0000
commit8a1dea4ce6fd0684aef6d0b0843a90658775129d (patch)
tree3e70b34e43d486160ff6be7225119b18390a52da /src
parent3d1ef873da900ddf4ef18d5cf7709aab70ed6b7d (diff)
memif: fix zero-copy arg overwrite
Type: fix Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com> Change-Id: I9a34465c85597baecdbc672ce395265f7dbb7f00
Diffstat (limited to 'src')
-rw-r--r--src/plugins/memif/memif_api.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/memif/memif_api.c b/src/plugins/memif/memif_api.c
index 5dafea34f98..60b9d5f75a3 100644
--- a/src/plugins/memif/memif_api.c
+++ b/src/plugins/memif/memif_api.c
@@ -149,9 +149,6 @@ vl_api_memif_create_t_handler (vl_api_memif_create_t * mp)
args.is_zero_copy = mp->no_zero_copy ? 0 : 1;
- /* enable zero-copy */
- args.is_zero_copy = 1;
-
/* rx/tx queues */
if (args.is_master == 0)
{