diff --git a/0178-add-recv_block-in-lwip_sock.patch b/0178-add-recv_block-in-lwip_sock.patch new file mode 100644 index 0000000000000000000000000000000000000000..ad9ec632cd891cdd689592ff9e36fb253705f292 --- /dev/null +++ b/0178-add-recv_block-in-lwip_sock.patch @@ -0,0 +1,24 @@ +From 20289719d3d489151ae3fd632a81e90886861ae9 Mon Sep 17 00:00:00 2001 +From: jiangheng +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 + diff --git a/lwip.spec b/lwip.spec index 42f5da2d84861729b7c9c37719425f9209ed4bc3..64a01d004c9610240e5d75a0a2280f9dd09c3a39 100644 --- a/lwip.spec +++ b/lwip.spec @@ -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 - 2.2.0-67 +- add recv_block in lwip_sock + * Fri Dec 6 2024 suchangzhi - 2.2.0-66 - fix pingpong mode spelling error