session: fix mq ext config cleanup
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I18eb1a71ac22017f75f835a23a57b023b46524ce
diff --git a/src/vnet/session/session_node.c b/src/vnet/session/session_node.c
index 93ed7b7..9fae999 100644
--- a/src/vnet/session/session_node.c
+++ b/src/vnet/session/session_node.c
@@ -47,13 +47,12 @@
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