IGMP: fix problem that can not join the sixteen igmp group
(cherry picked from commit 729e3e8ed5993050d5bd0fc19cb90858c7fb682a)
This commit is contained in:
parent
d1e51dbec9
commit
0975937e04
@ -0,0 +1,29 @@
|
|||||||
|
From 27e8c610ec1313e23088ed04a8cfd294b2e96246 Mon Sep 17 00:00:00 2001
|
||||||
|
From: yinbin <yinbin8@huawei.com>
|
||||||
|
Date: Thu, 31 Oct 2024 17:31:47 +0800
|
||||||
|
Subject: [PATCH] IGMP: fix problem that can not join the sixteen igmp group.
|
||||||
|
|
||||||
|
---
|
||||||
|
src/include/lwipopts.h | 6 ++++--
|
||||||
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/include/lwipopts.h b/src/include/lwipopts.h
|
||||||
|
index c46dce9..3db6c58 100644
|
||||||
|
--- a/src/include/lwipopts.h
|
||||||
|
+++ b/src/include/lwipopts.h
|
||||||
|
@@ -199,8 +199,10 @@
|
||||||
|
#define UDP_HLEN 8
|
||||||
|
|
||||||
|
#define MEMP_NUM_UDP_PCB (GAZELLE_MAX_CLIENTS + GAZELLE_RESERVED_CLIENTS)
|
||||||
|
-#define MEMP_NUM_IGMP_GROUP 16
|
||||||
|
-#define MEMP_NUM_MLD6_GROUP 16
|
||||||
|
+/* igmp group num should add igmp_allsystems(224.0.0.1) num, which alse consume mempool */
|
||||||
|
+#define MEMP_NUM_IGMP_ALLSYSTEMS 1
|
||||||
|
+#define MEMP_NUM_IGMP_GROUP (16 + MEMP_NUM_IGMP_ALLSYSTEMS)
|
||||||
|
+#define MEMP_NUM_MLD6_GROUP (16 + MEMP_NUM_IGMP_ALLSYSTEMS)
|
||||||
|
|
||||||
|
#define DEFAULT_UDP_RECVMBOX_SIZE 4096
|
||||||
|
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
|
|
||||||
@ -4,7 +4,7 @@
|
|||||||
Summary: lwip is a small independent implementation of the TCP/IP protocol suite
|
Summary: lwip is a small independent implementation of the TCP/IP protocol suite
|
||||||
Name: lwip
|
Name: lwip
|
||||||
Version: 2.2.0
|
Version: 2.2.0
|
||||||
Release: 60
|
Release: 61
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://savannah.nongnu.org/projects/lwip/
|
URL: http://savannah.nongnu.org/projects/lwip/
|
||||||
Source0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip
|
Source0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip
|
||||||
@ -184,6 +184,7 @@ Patch9168: 0169-pingpong-fix-send-dup-ack.patch
|
|||||||
Patch9169: 0170-IPV6-Enable-IPV6_FRAG_COPYHEADER-macro-to-adapt-64bi.patch
|
Patch9169: 0170-IPV6-Enable-IPV6_FRAG_COPYHEADER-macro-to-adapt-64bi.patch
|
||||||
Patch9170: 0171-IPV6-fix-array-out-of-bounds-in-function-ip6_ntoa_r.patch
|
Patch9170: 0171-IPV6-fix-array-out-of-bounds-in-function-ip6_ntoa_r.patch
|
||||||
Patch9171: 0172-IPV6-add-group-check-while-mld6-schedule-a-report.patch
|
Patch9171: 0172-IPV6-add-group-check-while-mld6-schedule-a-report.patch
|
||||||
|
Patch9172: 0173-IGMP-fix-problem-that-can-not-join-the-sixteen-igmp-.patch
|
||||||
|
|
||||||
BuildRequires: gcc-c++ dos2unix dpdk-devel
|
BuildRequires: gcc-c++ dos2unix dpdk-devel
|
||||||
|
|
||||||
@ -213,6 +214,9 @@ cd %{_builddir}/%{name}-%{version}/src
|
|||||||
%{_libdir}/liblwip.a
|
%{_libdir}/liblwip.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 1 2024 yinbin <yinbin8@huawei.com> - 2.2.0-61
|
||||||
|
- IGMP: fix fix problem that can not join the sixteen igmp group
|
||||||
|
|
||||||
* Mon Oct 14 2024 yinbin <yinbin8@huawei.com> - 2.2.0-60
|
* Mon Oct 14 2024 yinbin <yinbin8@huawei.com> - 2.2.0-60
|
||||||
- IPV6: Enable IPV6_FRAG_COPYHEADER macro to adapt 64bit
|
- IPV6: Enable IPV6_FRAG_COPYHEADER macro to adapt 64bit
|
||||||
- IPV6: fix array out of bounds in function ip6_ntoa_r
|
- IPV6: fix array out of bounds in function ip6_ntoa_r
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user