enable SO_REUSE_RXTOALL

(cherry picked from commit da346117b7ad6576c4144b42ca7dca092c1a118a)
This commit is contained in:
liyunqing 2024-03-26 13:40:45 +08:00 committed by openeuler-sync-bot
parent ca151197cf
commit 3fca08d7cb
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From a90ad15caf8dacf54fa6433dfd748ff7248c8718 Mon Sep 17 00:00:00 2001
From: liyunqing <liyunqing@kylinos.cn>
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

View File

@ -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 <liyunqing@kylinos.cn> - 2.2.0-13
- enable SO_REUSE_RXTOALL
* Fri Mar 29 2024 zhangyulong <zhangyulong@kylinos.cn> - 2.2.0-12
- add igmp v3 multicast protocol