aboutsummaryrefslogtreecommitdiffstats
path: root/src/vcl
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
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')
-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 f1c15bac0bc..faab1c2282b 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 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);