!409 fix udp recvmbox size not set
From: @jiangheng12 Reviewed-by: @LemmyHuang Signed-off-by: @LemmyHuang
This commit is contained in:
commit
8eea071797
24
0065-fix-udp-recvmbox-size-not-set.patch
Normal file
24
0065-fix-udp-recvmbox-size-not-set.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From b94a7024bc7dc4984039b4f54aff3dbdcd21d8b8 Mon Sep 17 00:00:00 2001
|
||||
From: jiangheng12 <jiangheng14@huawei.com>
|
||||
Date: Wed, 14 Jun 2023 18:34:12 +0800
|
||||
Subject: [PATCH] fix udp recvmbox size not set
|
||||
|
||||
---
|
||||
src/include/lwipopts.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/include/lwipopts.h b/src/include/lwipopts.h
|
||||
index 6b5c769..f0df0e3 100644
|
||||
--- a/src/include/lwipopts.h
|
||||
+++ b/src/include/lwipopts.h
|
||||
@@ -180,6 +180,7 @@
|
||||
---------------------------------
|
||||
*/
|
||||
#define LWIP_UDP 1
|
||||
+#define DEFAULT_UDP_RECVMBOX_SIZE 4096
|
||||
|
||||
|
||||
/*
|
||||
--
|
||||
2.23.0
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
Summary: lwip is a small independent implementation of the TCP/IP protocol suite
|
||||
Name: lwip
|
||||
Version: 2.1.3
|
||||
Release: 68
|
||||
Release: 69
|
||||
License: BSD
|
||||
URL: http://savannah.nongnu.org/projects/lwip/
|
||||
Source0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip
|
||||
@ -76,6 +76,7 @@ Patch9060: 0061-fix-pbuf-leak-in-udp-connection.patch
|
||||
Patch9061: 0062-drop-netbuf-in-recv_udp-to-fix-mem-overflow.patch
|
||||
Patch9062: 0063-optimize-avoid-too-many-empty-acks-in-tcp_input.patch
|
||||
Patch9063: 0064-fix-udp-send-recv-in-multiple-queue.patch
|
||||
Patch9064: 0065-fix-udp-recvmbox-size-not-set.patch
|
||||
|
||||
BuildRequires: gcc-c++ dos2unix dpdk-devel
|
||||
|
||||
@ -156,6 +157,7 @@ find %{_builddir}/%{name}-%{version} -type f -exec dos2unix -q {} \;
|
||||
%patch9061 -p1
|
||||
%patch9062 -p1
|
||||
%patch9063 -p1
|
||||
%patch9064 -p1
|
||||
|
||||
%build
|
||||
cd %{_builddir}/%{name}-%{version}/src
|
||||
@ -171,6 +173,9 @@ cd %{_builddir}/%{name}-%{version}/src
|
||||
%{_libdir}/liblwip.a
|
||||
|
||||
%changelog
|
||||
* Wed Jun 14 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-69
|
||||
- fix udp recvmbox size not set
|
||||
|
||||
* Wed Jun 14 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-68
|
||||
- fix udp send/recv in mutiple queue
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user