!928 [sync] PR-842: enable SO_REUSE_RXTOALL

From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
This commit is contained in:
openeuler-ci-bot 2024-04-11 01:38:10 +00:00 committed by Gitee
commit 6fdce943f3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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