diff --git a/0120-enable-SO_REUSE_RXTOALL.patch b/0120-enable-SO_REUSE_RXTOALL.patch new file mode 100644 index 0000000..12fe332 --- /dev/null +++ b/0120-enable-SO_REUSE_RXTOALL.patch @@ -0,0 +1,25 @@ +From a90ad15caf8dacf54fa6433dfd748ff7248c8718 Mon Sep 17 00:00:00 2001 +From: liyunqing +Date: Fri, 22 Mar 2024 16:50:00 +0800 +Subject: [PATCH] enable SO_REUSE_RXTOALL + +--- + src/include/lwipopts.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/include/lwipopts.h b/src/include/lwipopts.h +index 3b8de83..1b4ec6d 100644 +--- a/src/include/lwipopts.h ++++ b/src/include/lwipopts.h +@@ -259,6 +259,8 @@ + + #define LWIP_SO_RCVTIMEO 1 + ++#define SO_REUSE_RXTOALL 1 ++ + /* + ------------------------------------ + --------- Debug log options -------- +-- +2.27.0 + diff --git a/lwip.spec b/lwip.spec index 7f3c61d..01e4294 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: 12 +Release: 13 License: BSD URL: http://savannah.nongnu.org/projects/lwip/ Source0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip @@ -131,6 +131,7 @@ Patch9115: 0116-transfer-pbuf-timestamp-in-ip-frag.patch Patch9116: 0117-udp-muticast-loop.patch Patch9117: 0118-support-querying-udp-multicast-addresses.patch Patch9118: 0119-support-igmpv3.patch +Patch9119: 0120-enable-SO_REUSE_RXTOALL.patch BuildRequires: gcc-c++ dos2unix dpdk-devel @@ -160,6 +161,9 @@ cd %{_builddir}/%{name}-%{version}/src %{_libdir}/liblwip.a %changelog +* Fri Mar 29 2024 liyunqing - 2.2.0-13 +- enable SO_REUSE_RXTOALL + * Fri Mar 29 2024 zhangyulong - 2.2.0-12 - add igmp v3 multicast protocol