25 lines
694 B
Diff
25 lines
694 B
Diff
From 31a7c86437dcc5c3ea03694f094fef2236021174 Mon Sep 17 00:00:00 2001
|
|
From: yinbin <yinbin8@huawei.com>
|
|
Date: Fri, 17 Nov 2023 19:52:38 +0800
|
|
Subject: [PATCH] cfg: fix lstack mempool lookup failed in ltran mode
|
|
|
|
---
|
|
src/lstack/core/lstack_cfg.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/lstack/core/lstack_cfg.c b/src/lstack/core/lstack_cfg.c
|
|
index d2d0fc1..441a2dc 100644
|
|
--- a/src/lstack/core/lstack_cfg.c
|
|
+++ b/src/lstack/core/lstack_cfg.c
|
|
@@ -1026,6 +1026,7 @@ static int32_t parse_seperate_sendrecv_args(void)
|
|
static int32_t parse_num_process(void)
|
|
{
|
|
if (g_config_params.use_ltran) {
|
|
+ g_config_params.num_process = 1;
|
|
return 0;
|
|
}
|
|
|
|
--
|
|
2.27.0
|
|
|