1 Star 0 Fork 103

宋佳佳/third_party_lwip

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
0026-del-redundant-wait_close-and-move-epoll_events-pos.patch 1.00 KB
一键复制 编辑 原始数据 按行查看 历史
Aurora 提交于 2023-12-07 03:26 . update lwip to 2.1.3-39.oe2203sp1
From ab62f970793c257c712c357a6976b9aca2e63b98 Mon Sep 17 00:00:00 2001
From: wu-changsheng <wuchangsheng2@huawei.com>
Date: Tue, 26 Jul 2022 17:36:29 +0800
Subject: [PATCH] del redundant wait_close and move epoll_events pos
---
src/include/lwipsock.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/include/lwipsock.h b/src/include/lwipsock.h
index 500292d..16e0dd3 100644
--- a/src/include/lwipsock.h
+++ b/src/include/lwipsock.h
@@ -98,12 +98,11 @@ struct lwip_sock {
struct list_node recv_list __rte_cache_aligned;
struct list_node event_list __rte_cache_aligned;
struct list_node send_list __rte_cache_aligned;
+ uint32_t epoll_events; /* registered events, EPOLLONESHOT write frequently */
char pad __rte_cache_aligned;
- uint32_t epoll_events; /* registered events */
struct wakeup_poll *wakeup;
epoll_data_t ep_data;
- bool wait_close;
struct lwip_sock *listen_next; /* listenfd list */
struct protocol_stack *stack;
struct rte_ring *recv_ring;
--
2.23.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/song-jiajia-hoperun/third_party_lwip.git
git@gitee.com:song-jiajia-hoperun/third_party_lwip.git
song-jiajia-hoperun
third_party_lwip
third_party_lwip
master

搜索帮助