!996 [sync] PR-987: sync WRAP: support setsockopt SO_SNDTIMEO SO_SNBUF
From: @openeuler-sync-bot Reviewed-by: @jiangheng12 Signed-off-by: @jiangheng12
This commit is contained in:
commit
e97a7ec836
25
0254-WRAP-support-setsockopt-SO_SNDTIMEO-SO_SNBUF.patch
Normal file
25
0254-WRAP-support-setsockopt-SO_SNDTIMEO-SO_SNBUF.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 34d3415bab0de76e2d704cda1c786c06e110e2e7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: yinbin <yinbin8@huawei.com>
|
||||||
|
Date: Wed, 11 Sep 2024 16:50:17 +0800
|
||||||
|
Subject: [PATCH] WRAP: support setsockopt SO_SNDTIMEO SO_SNBUF
|
||||||
|
|
||||||
|
---
|
||||||
|
src/lstack/api/lstack_wrap.c | 2 --
|
||||||
|
1 file changed, 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/lstack/api/lstack_wrap.c b/src/lstack/api/lstack_wrap.c
|
||||||
|
index 8c3c731..92ce73b 100644
|
||||||
|
--- a/src/lstack/api/lstack_wrap.c
|
||||||
|
+++ b/src/lstack/api/lstack_wrap.c
|
||||||
|
@@ -424,8 +424,6 @@ static bool unsupport_socket_optname(int32_t optname)
|
||||||
|
{
|
||||||
|
if ((optname == SO_BROADCAST) ||
|
||||||
|
(optname == SO_PROTOCOL) ||
|
||||||
|
- (optname == SO_SNDTIMEO) ||
|
||||||
|
- (optname == SO_SNDBUF) ||
|
||||||
|
(optname == SO_RCVBUF) ||
|
||||||
|
(optname == SO_DONTROUTE)) {
|
||||||
|
return true;
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: gazelle
|
Name: gazelle
|
||||||
Version: 1.0.2
|
Version: 1.0.2
|
||||||
Release: 61
|
Release: 62
|
||||||
Summary: gazelle is a high performance user-mode stack
|
Summary: gazelle is a high performance user-mode stack
|
||||||
License: MulanPSL-2.0
|
License: MulanPSL-2.0
|
||||||
URL: https://gitee.com/openeuler/gazelle
|
URL: https://gitee.com/openeuler/gazelle
|
||||||
@ -270,6 +270,7 @@ Patch9250: 0250-tools-fix-script-generate-patchname-wrong.patch
|
|||||||
Patch9251: 0251-fix-when-errno-is-ENOTCONN-ignore-it.patch
|
Patch9251: 0251-fix-when-errno-is-ENOTCONN-ignore-it.patch
|
||||||
Patch9252: 0252-rtc-do_lwip_init_sock-no-need-to-create-ring-in-rtc-.patch
|
Patch9252: 0252-rtc-do_lwip_init_sock-no-need-to-create-ring-in-rtc-.patch
|
||||||
Patch9253: 0253-example-solve-double-free.patch
|
Patch9253: 0253-example-solve-double-free.patch
|
||||||
|
Patch9254: 0254-WRAP-support-setsockopt-SO_SNDTIMEO-SO_SNBUF.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{name} is a high performance user-mode stack.
|
%{name} is a high performance user-mode stack.
|
||||||
@ -311,6 +312,9 @@ install -Dpm 0640 %{_builddir}/%{name}-%{version}/src/ltran/ltran.conf %{b
|
|||||||
%config(noreplace) %{conf_path}/ltran.conf
|
%config(noreplace) %{conf_path}/ltran.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 20 2024 yinbin6 <yinbin8@huawei.com> - 1.0.2-62
|
||||||
|
- WRAP: support setsockopt SO_SNDTIMEO SO_SNBUF
|
||||||
|
|
||||||
* Fri Sep 13 2024 yinbin6 <yinbin8@huawei.com> - 1.0.2-61
|
* Fri Sep 13 2024 yinbin6 <yinbin8@huawei.com> - 1.0.2-61
|
||||||
- example: solve double free
|
- example: solve double free
|
||||||
- rtc: do_lwip_init_sock no need to create ring in rtc mode
|
- rtc: do_lwip_init_sock no need to create ring in rtc mode
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user