summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-04-27 13:30:37 -0700
committerFlorin Coras <florin.coras@gmail.com>2021-04-27 20:28:47 +0000
commit5c97dbfdb24a91440910891ed347f9fcd2454b34 (patch)
treee33e6fbf2d7354b2de8933c6f734d8b69240e448
parent23c3488b9ba27ca1c146f817eb98aec8d2537cac (diff)
session: fix mq ext config cleanup
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I18eb1a71ac22017f75f835a23a57b023b46524ce
-rw-r--r--src/vnet/session/session_node.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vnet/session/session_node.c b/src/vnet/session/session_node.c
index 93ed7b7c3f2..9fae9996698 100644
--- a/src/vnet/session/session_node.c
+++ b/src/vnet/session/session_node.c
@@ -47,13 +47,12 @@ session_mq_get_ext_config (application_t *app, uword offset)
static void
session_mq_free_ext_config (application_t *app, uword offset)
{
- u32 ctrl_thread = vlib_num_workers () ? 1 : 0;
svm_fifo_chunk_t *c;
fifo_segment_t *fs;
fs = application_get_rx_mqs_segment (app);
c = fs_chunk_ptr (fs->h, offset);
- fifo_segment_collect_chunk (fs, ctrl_thread, c);
+ fifo_segment_collect_chunk (fs, 0 /* only one slice */, c);
}
static void