!21 Update package to version 1.24

From: @xiangbudaomz 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-06-30 03:37:51 +00:00 committed by Gitee
commit f4347c35c3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 5 additions and 29 deletions

View File

@ -1,26 +0,0 @@
From 26734825de99f514827ee863592cf04fe2fc9231 Mon Sep 17 00:00:00 2001
From: Fabio M.Di Nitto <fdinitto@redhat.com>
Date: Tue, 22 Mar 2022 15:40:42 +0100
Subject: [PATCH] [tx] fix epoll event size to scope with extra event on send to link
Reference: https://github.com/kronosnet/kronosnet/pull/377/commits
---
libknet/threads_tx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libknet/threads_tx.c b/libknet/threads_tx.c
index 1d954d6..3f43037 100644
--- a/libknet/threads_tx.c
+++ b/libknet/threads_tx.c
@@ -676,7 +676,7 @@ static void _handle_send_to_links(knet_handle_t knet_h, struct msghdr *msg, int
void *_handle_send_to_links_thread(void *data)
{
knet_handle_t knet_h = (knet_handle_t) data;
- struct epoll_event events[KNET_EPOLL_MAX_EVENTS];
+ struct epoll_event events[KNET_EPOLL_MAX_EVENTS + 1];
int i, nev, type;
int flush, flush_queue_limit;
int8_t channel;
--
2.27.0

Binary file not shown.

BIN
kronosnet-1.24.tar.xz Normal file

Binary file not shown.

View File

@ -20,12 +20,11 @@
Name: kronosnet
Summary: Multipoint-to-Multipoint VPN daemon
Version: 1.22
Version: 1.24
Release: 1
License: GPLv2+ and LGPLv2+
URL: https://kronosnet.org
Source0: https://kronosnet.org/releases/%{name}-%{version}.tar.xz
Patch0: fix-epoll-event-size-to-scope-with-extra-event-on-send-to-link.patch
BuildRequires: gcc chrpath make libqb-devel
%if %{with buildman}
BuildRequires: libxml2-devel doxygen doxygen2man
@ -408,6 +407,9 @@ Requires: libknet1%{_isa} = %{version}-%{release}
%endif
%changelog
* Thu Jun 01 2023 zouzhimin <zouzhimin@kylinos.cn> - 1.24-1
- Update package to version 1.24
* Thu Feb 02 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.22-1
- Update package to version 1.22
@ -418,4 +420,4 @@ Requires: libknet1%{_isa} = %{version}-%{release}
- fix format-truncation to support gcc 10
* Sat Jul 18 2020 yanan li <liyanan032@huawei.com> - 1.13-2
- Package init
- Package init