aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-02-13 20:04:28 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-08-12 15:59:46 +0000
commit1189a7757856707350aed750ff25349a0f546a93 (patch)
tree3270f2b8434370f03d409c42e2349be05856f608
parentaf0bf322d7c55cc4daac1322a609eeeeb5b0d051 (diff)
vcl: clear accept msg flags
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Idb513232e7b091c8f767726bfa1deb10a7e3b751 (cherry picked from commit e88845e4fea2c6b6743ff7790cc2247631d65189)
-rw-r--r--src/vcl/vcl_private.h1
-rw-r--r--src/vcl/vppcom.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/vcl/vcl_private.h b/src/vcl/vcl_private.h
index f76beaee972..d44d993e0a1 100644
--- a/src/vcl/vcl_private.h
+++ b/src/vcl/vcl_private.h
@@ -108,7 +108,6 @@ typedef struct
typedef struct vcl_session_msg
{
- u32 next;
union
{
session_accepted_msg_t accepted_msg;
diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c
index d989873163c..49394e4f69c 100644
--- a/src/vcl/vppcom.c
+++ b/src/vcl/vppcom.c
@@ -655,6 +655,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);