gazelle/0024-fix-arping-gazelle-return-value-is-1.patch
jiangheng 1bce5672e8 sync init: stack setup in app thread when app call socket/epoll_create first in rtc mode
(cherry picked from commit 9e767dcd8b03ad4be93593b474bbc7153c2923b3)
2023-11-04 16:38:00 +08:00

26 lines
852 B
Diff

From e7fc6fab09b5687e84467520bf04f84f79de2c03 Mon Sep 17 00:00:00 2001
From: yinbin <yinbin8@huawei.com>
Date: Tue, 24 Oct 2023 14:33:00 +0800
Subject: [PATCH] fix arping gazelle return value is 1
---
src/lstack/core/lstack_protocol_stack.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lstack/core/lstack_protocol_stack.c b/src/lstack/core/lstack_protocol_stack.c
index ea85bc1..1ef0850 100644
--- a/src/lstack/core/lstack_protocol_stack.c
+++ b/src/lstack/core/lstack_protocol_stack.c
@@ -786,7 +786,7 @@ void stack_broadcast_arp(struct rte_mbuf *mbuf, struct protocol_stack *cur_stack
for (int32_t i = 0; i < stack_group->stack_num; i++) {
stack = stack_group->stacks[i];
- if (cur_stack == stack && use_ltran()) {
+ if (cur_stack == stack) {
continue;
}
--
2.27.0