summaryrefslogtreecommitdiffstats
path: root/src/vcl/vppcom.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-02-13 20:04:28 +0000
committerFlorin Coras <fcoras@cisco.com>2020-02-13 20:04:28 +0000
commite88845e4fea2c6b6743ff7790cc2247631d65189 (patch)
tree54419b69f45dc28a5960f8288a9dbe1f6131fcfd /src/vcl/vppcom.c
parent39e9428b90bc74d1bb15fc17759c8ef6ad712418 (diff)
vcl: clear accept msg flags
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Idb513232e7b091c8f767726bfa1deb10a7e3b751
Diffstat (limited to 'src/vcl/vppcom.c')
-rw-r--r--src/vcl/vppcom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c
index 39d665bdb27..08a22c78b07 100644
--- a/src/vcl/vppcom.c
+++ b/src/vcl/vppcom.c
@@ -679,6 +679,7 @@ vcl_session_accepted (vcl_worker_t * wrk, session_accepted_msg_t * msg)
}
clib_fifo_add2 (session->accept_evts_fifo, vcl_msg);
+ vcl_msg->flags = 0;
vcl_msg->accepted_msg = *msg;
/* Session handle points to listener until fully accepted by app */
vcl_session_table_add_vpp_handle (wrk, msg->handle, session->session_index);