Projects
openEuler:C
gazelle
_service:tar_scm:0142-do_setsockopt-function-no...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0142-do_setsockopt-function-no-longer-checks-the-results-.patch of Package gazelle
From 712a3c23451ed79449cea9322586d958c27c679f Mon Sep 17 00:00:00 2001 From: jiangjixiang <jiangjixiang@kylinos.cn> Date: Fri, 1 Mar 2024 10:10:01 +0800 Subject: [PATCH] do_setsockopt function no longer checks the results of the kernel. --- src/lstack/api/lstack_wrap.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lstack/api/lstack_wrap.c b/src/lstack/api/lstack_wrap.c index 8992e39..1e36d3d 100644 --- a/src/lstack/api/lstack_wrap.c +++ b/src/lstack/api/lstack_wrap.c @@ -398,10 +398,7 @@ static inline int32_t do_setsockopt(int32_t s, int32_t level, int32_t optname, c } /* we both set kernel and lwip */ - int32_t ret = posix_api->setsockopt_fn(s, level, optname, optval, optlen); - if (ret != 0) { - return ret; - } + posix_api->setsockopt_fn(s, level, optname, optval, optlen); return g_wrap_api->setsockopt_fn(s, level, optname, optval, optlen); } -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.