diff options
author | Florin Coras <fcoras@cisco.com> | 2021-06-16 14:41:01 -0700 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2021-06-17 19:23:04 +0000 |
commit | 1cb93827f92709c19f5051945c3c2825da5b640a (patch) | |
tree | 5c04303c90b0c5630b255b063c60d4ab0c81a9be /src | |
parent | d1fd73a93d32a306e1d24eb968fcc1a28f937dcc (diff) |
vcl: fix worker cleanup
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I575068df56623f24c0290fa42b8d301548a089d4
(cherry picked from commit cba215dad3101c6b03483c5c40f806903de8460d)
Diffstat (limited to 'src')
-rw-r--r-- | src/vcl/vcl_private.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vcl/vcl_private.c b/src/vcl/vcl_private.c index 1ef4cc6a27a..2f05746e943 100644 --- a/src/vcl/vcl_private.c +++ b/src/vcl/vcl_private.c @@ -128,9 +128,16 @@ vcl_worker_cleanup (vcl_worker_t * wrk, u8 notify_vpp) if (wrk->mqs_epfd > 0) close (wrk->mqs_epfd); + pool_free (wrk->sessions); + pool_free (wrk->mq_evt_conns); hash_free (wrk->session_index_by_vpp_handles); vec_free (wrk->mq_events); vec_free (wrk->mq_msg_vector); + vec_free (wrk->unhandled_evts_vector); + vec_free (wrk->pending_session_wrk_updates); + clib_bitmap_free (wrk->rd_bitmap); + clib_bitmap_free (wrk->wr_bitmap); + clib_bitmap_free (wrk->ex_bitmap); vcl_worker_free (wrk); clib_spinlock_unlock (&vcm->workers_lock); } |