diff --git a/0129-memset-gazelle_quintuple-in-vdev_reg_done.patch b/0129-memset-gazelle_quintuple-in-vdev_reg_done.patch new file mode 100644 index 0000000..7c3f2d1 --- /dev/null +++ b/0129-memset-gazelle_quintuple-in-vdev_reg_done.patch @@ -0,0 +1,25 @@ +From beadb61ae1e366ea1f7a2e53d96251ea6f40490e Mon Sep 17 00:00:00 2001 +From: yinbin6 +Date: Tue, 30 Apr 2024 10:09:18 +0800 +Subject: [PATCH] memset gazelle_quintuple in vdev_reg_done + +--- + src/include/lwip/priv/tcp_priv.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/include/lwip/priv/tcp_priv.h b/src/include/lwip/priv/tcp_priv.h +index 8d7b9df..7ef00fa 100644 +--- a/src/include/lwip/priv/tcp_priv.h ++++ b/src/include/lwip/priv/tcp_priv.h +@@ -346,7 +346,7 @@ static inline int vdev_reg_done(enum reg_ring_type reg_type, const struct tcp_pc + { + LWIP_ASSERT("Invalid parameter", pcb != NULL); + +- struct gazelle_quintuple qtuple; ++ struct gazelle_quintuple qtuple = {0}; + + qtuple.protocol = IP_IS_V4_VAL(pcb->local_ip) ? GZ_ADDR_TYPE_V4 : GZ_ADDR_TYPE_V6; + qtuple.src_ip = *((gz_addr_t *)&pcb->local_ip); +-- +2.33.0 + diff --git a/lwip.spec b/lwip.spec index e214b6a..c94bc9b 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: 21 +Release: 22 License: BSD URL: http://savannah.nongnu.org/projects/lwip/ Source0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip @@ -140,6 +140,7 @@ Patch9124: 0125-add-MCAST_JOIN_SOURCE_GROUP-to-setsockopt-for-mldv2.patch Patch9125: 0126-add-stats_proto-in-out-to-xmit-recv.patch Patch9126: 0127-add-MCAST_BLOCK_SOURCE-to-setsockopt-for-mldv2.patch Patch9127: 0128-add-MCAST_JOIN_SOURCE_GROUP-to-setsockopt-for-igmpv3.patch +Patch9128: 0129-memset-gazelle_quintuple-in-vdev_reg_done.patch BuildRequires: gcc-c++ dos2unix dpdk-devel @@ -169,8 +170,11 @@ cd %{_builddir}/%{name}-%{version}/src %{_libdir}/liblwip.a %changelog +* Tue Apr 30 2024 yinbin - 2.2.0-22 +- memset gazelle_quintuple in vdev_reg_done + * Mon Apr 29 2024 zhangyulong - 2.2.0-21 -add option MCAST_JOIN_SOURCE_GROUP to the setsockopt for the igmpv3 protocol +- add option MCAST_JOIN_SOURCE_GROUP to the setsockopt for the igmpv3 protocol * Mon Apr 29 2024 wanfeng - 2.2.0-20 - add option MCAST_BLOCK_SOURCE to the setsockopt for the mldv2 protocol