add recv_block in lwip_sock

(cherry picked from commit d4b1775c02cd0f79b439489105b7a51ea14ffc84)
This commit is contained in:
jiangheng 2024-12-10 16:34:10 +08:00 committed by openeuler-sync-bot
parent 0c1b983c92
commit 57816f8bfb
2 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From 20289719d3d489151ae3fd632a81e90886861ae9 Mon Sep 17 00:00:00 2001
From: jiangheng <jiangheng14@huawei.com>
Date: Tue, 10 Dec 2024 16:29:59 +0800
Subject: [PATCH] add recv_block in lwip_sock
---
src/include/lwipgz_sock.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/include/lwipgz_sock.h b/src/include/lwipgz_sock.h
index 4f8e17b..95c26df 100644
--- a/src/include/lwipgz_sock.h
+++ b/src/include/lwipgz_sock.h
@@ -182,6 +182,7 @@ struct lwip_sock {
struct lwip_sock *listen_next; /* listenfd list */
struct protocol_stack *stack;
struct wakeup_poll *wakeup;
+ struct wakeup_poll *recv_block;
epoll_data_t ep_data;
struct rte_ring *recv_ring;
struct rte_ring *send_ring;
--
2.33.0

View File

@ -4,7 +4,7 @@
Summary: lwip is a small independent implementation of the TCP/IP protocol suite
Name: lwip
Version: 2.2.0
Release: 66
Release: 67
License: BSD
URL: http://savannah.nongnu.org/projects/lwip/
Source0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip
@ -191,6 +191,7 @@ Patch9174: 0175-fix-IFNAMSIZ-definition-conflict-between-lwip-and-ke.patch
Patch9175: 0176-fix-no-ack-response-when-lcoal-only-receive-but-not-.patch
Patch9176: 0001-bug-free-sock-when-func-goto-out.patch
Patch9177: 0177-pingpong-fix-spelling-error.patch
Patch9178: 0178-add-recv_block-in-lwip_sock.patch
BuildRequires: gcc-c++ dos2unix dpdk-devel
@ -220,6 +221,9 @@ cd %{_builddir}/%{name}-%{version}/src
%{_libdir}/liblwip.a
%changelog
* Tue Dec 10 2024 jiangheng <jiangheng14@huawei.com> - 2.2.0-67
- add recv_block in lwip_sock
* Fri Dec 6 2024 suchangzhi <suchangzhi_yewu@cmss.chinamobile.com> - 2.2.0-66
- fix pingpong mode spelling error