aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2019-09-30 14:49:13 +0200
committerFlorin Coras <florin.coras@gmail.com>2019-09-30 14:57:30 +0000
commit19e52c96dcd5f523c2b97aee56cb2e7751d4690a (patch)
tree81dd851c15f07e7c6a8773ede6b382541295855e /src
parentee98904e0c0357f75fa019ed7b9f0f4eda480377 (diff)
session: Fix missing elt regrab
Type: fix Change-Id: Ie756c5477d989702e633aa0d42ca154ff32b4c9a Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/vnet/session/session_node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/session_node.c b/src/vnet/session/session_node.c
index 891870c9d45..e2e98eba19f 100644
--- a/src/vnet/session/session_node.c
+++ b/src/vnet/session/session_node.c
@@ -1122,6 +1122,7 @@ session_event_dispatch_ctrl (session_worker_t * wrk, session_evt_elt_t * elt)
elt = pool_elt_at_index (wrk->event_elts, ei);
if (!clib_llist_elt_is_linked (elt, evt_list))
{
+ e = &elt->evt;
if (e->event_type >= SESSION_CTRL_EVT_BOUND)
session_evt_ctrl_data_free (wrk, elt);
session_evt_elt_free (wrk, elt);