public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/keepalived] rawhide: Update to v2.4.3 (rhbz#2558910, rhbz#2535938)
@ 2026-10-31 4:21 Artur Frenszek-Iwicki
0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-10-31 4:21 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/keepalived
Branch : rawhide
Commit : c328ecd98baf9b3b7c529f3c1e2aee16e16f210a
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date : 2026-10-31T03:33:48+00:00
Stats : +36/-54 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/keepalived/c/c328ecd98baf9b3b7c529f3c1e2aee16e16f210a?branch=rawhide
Log:
Update to v2.4.3 (rhbz#2558910, rhbz#2535938)
---
diff --git a/.gitignore b/.gitignore
index a4049b9..b8ed981 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,3 +41,4 @@
/keepalived-2.2.7.tar.gz
/keepalived-2.2.8.tar.gz
/keepalived-2.3.4.tar.gz
+/keepalived-2.4.3.tar.gz
diff --git a/keepalived-NLA_F_NESTED.patch b/keepalived-NLA_F_NESTED.patch
new file mode 100644
index 0000000..1fdaa82
--- /dev/null
+++ b/keepalived-NLA_F_NESTED.patch
@@ -0,0 +1,29 @@
+From cc38eea663f9411e3889a5aa0e615900fa9e43b8 Mon Sep 17 00:00:00 2001
+From: Quentin Armitage <quentin@armitage.org.uk>
+Date: Mon, 14 Sep 2026 21:53:07 +0100
+Subject: [PATCH] vrrp: set NLA_F_NESTED when seding nested attributes to the
+ kernel
+
+The flag should have always been set, but from Linux v7.1 sending
+IFLA_INET_CONF fails if the NLA_F_NESTED flag is not set (see kernel
+commit fa8fca88714c ("ipv4: validate IPV4_DEVCONF attributes properly"))
+for details.
+
+Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
+---
+ keepalived/vrrp/vrrp_if_config.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/keepalived/vrrp/vrrp_if_config.c b/keepalived/vrrp/vrrp_if_config.c
+index 8cde8ed75..0d6ecd376 100644
+--- a/keepalived/vrrp/vrrp_if_config.c
++++ b/keepalived/vrrp/vrrp_if_config.c
+@@ -169,7 +169,7 @@ nest_start(struct nlmsghdr *nlh, unsigned short type)
+ {
+ struct nlattr *nest = PTR_CAST(struct nlattr, NLMSG_TAIL(nlh));
+
+- nest->nla_type = type;
++ nest->nla_type = type | NLA_F_NESTED;
+ nlh->nlmsg_len += sizeof(struct nlattr);
+
+ return nest;
diff --git a/keepalived-configure-c99.patch b/keepalived-configure-c99.patch
deleted file mode 100644
index cabf8d9..0000000
--- a/keepalived-configure-c99.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-Fix a configure check that happens to trigger and implicit function
-declaration error.
-
-Fixed slightly differently in upstream via:
-
-commit 516032ec39169d05c613de0e8ee10845658748ff
-Author: Quentin Armitage <quentin@armitage.org.uk>
-Date: Sun Apr 17 18:02:18 2022 +0100
-
- config parser: Fix segfault caused by extra '}' and other parser fixes
-
- If there was a configuration error in a block, e.g. a vrrp_instance,
- keepalived would apply the configuration in the rest of the block to
- the previous object of that type, e.g. the previous vrrp instance. If
- there had been no previous instance, keepalived would probably segfault.
-
- This commit changes the way the parser works. A new instance of an
- object, e.g. a VRRP instance or a virtual server, is only added to the
- list of those objects once the configuration of that object is complete.
- In particular it no longer applies the configuration to the last entry
- on the list of the relevant object type, but keeps a point to the
- object currently being configured.
-
- Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
-
-diff --git a/configure b/configure
-index 7cd6c4f614930391..b099b8f42aca1cba 100755
---- a/configure
-+++ b/configure
-@@ -6382,7 +6382,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-
- #include <stdio.h>
-
-- static int func(int i) __attribute__((error("deliberate error")))
-+ static int __attribute__((error("deliberate error"))) func(int i)
- {
- return i * 2;
- }
-diff --git a/configure.ac b/configure.ac
-index 350a9f4e9567518c..5546143b4630aff6 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -792,7 +792,7 @@ AC_COMPILE_IFELSE(
- [[
- #include <stdio.h>
-
-- static int func(int i) __attribute__((error("deliberate error")))
-+ static int __attribute__((error("deliberate error"))) func(int i)
- {
- return i * 2;
- }
diff --git a/keepalived.spec b/keepalived.spec
index 378a5cd..b75d3f8 100644
--- a/keepalived.spec
+++ b/keepalived.spec
@@ -8,14 +8,17 @@
Name: keepalived
Summary: High Availability monitor built upon LVS, VRRP and service pollers
-Version: 2.3.4
+Version: 2.4.3
Release: %autorelease
License: GPL-2.0-or-later
URL: http://www.keepalived.org/
Source0: http://www.keepalived.org/software/keepalived-%{version}.tar.gz
Source1: keepalived.service
-#Patch0: keepalived-configure-c99.patch
+
+# Fix VMAC configuration on Linux 7.1 and later
+# https://github.com/acassen/keepalived/commit/cc38eea663f9411e3889a5aa0e615900fa9e43b8
+Patch0: keepalived-NLA_F_NESTED.patch
%{?systemd_requires}
diff --git a/sources b/sources
index 76985c8..db26a4e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (keepalived-2.3.4.tar.gz) = 25328f7c8905d35b40e8ca0d17ed33382bde91e3f848e450ff88c60f57868fbde9753957f310de5900ad740a975b4acb3e549991d5db0d5d70797ba1ff77a503
+SHA512 (keepalived-2.4.3.tar.gz) = 118a48064713cc7c37a211532886efa61c53f6b6a83926756792f83a45f6809db7fe2367666ce9682a9a1c54c4bec35523d973a6cc88cd25a0d9bce24fb0579c
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-31 4:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-31 4:21 [rpms/keepalived] rawhide: Update to v2.4.3 (rhbz#2558910, rhbz#2535938) Artur Frenszek-Iwicki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox