aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2019-09-30 14:49:13 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-10-04 14:23:07 +0000
commitf42f1d5db7a503b181c784792d319db3d7eb8d65 (patch)
tree6e837ca3cf7a460a6075a305f2b0d8bac0beeb35 /src/vnet/session
parent2e6d7393441bb42aa2f48e210931422e07248a64 (diff)
session: Fix missing elt regrab
Type: fix Change-Id: Ie756c5477d989702e633aa0d42ca154ff32b4c9a Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com> (cherry picked from commit 19e52c96dcd5f523c2b97aee56cb2e7751d4690a)
Diffstat (limited to 'src/vnet/session')
-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);