]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
6.12-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Feb 2026 14:13:06 +0000 (15:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Feb 2026 14:13:06 +0000 (15:13 +0100)
added patches:
bpf-selftests-test_select_reuseport_kern-remove-unused-header.patch

queue-6.12/bpf-selftests-test_select_reuseport_kern-remove-unused-header.patch [new file with mode: 0644]
queue-6.12/series

diff --git a/queue-6.12/bpf-selftests-test_select_reuseport_kern-remove-unused-header.patch b/queue-6.12/bpf-selftests-test_select_reuseport_kern-remove-unused-header.patch
new file mode 100644 (file)
index 0000000..253b2ea
--- /dev/null
@@ -0,0 +1,56 @@
+From 93cf4e537ed0c5bd9ba6cbdb2c33864547c1442f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Alexis=20Lothor=C3=A9=20=28eBPF=20Foundation=29?=
+ <alexis.lothore@bootlin.com>
+Date: Thu, 27 Feb 2025 15:08:23 +0100
+Subject: bpf/selftests: test_select_reuseport_kern: Remove unused header
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+From: Alexis LothorĂ© (eBPF Foundation) <alexis.lothore@bootlin.com>
+
+commit 93cf4e537ed0c5bd9ba6cbdb2c33864547c1442f upstream.
+
+test_select_reuseport_kern.c is currently including <stdlib.h>, but it
+does not use any definition from there.
+
+Remove stdlib.h inclusion from test_select_reuseport_kern.c
+
+Signed-off-by: Alexis LothorĂ© (eBPF Foundation) <alexis.lothore@bootlin.com>
+Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
+Link: https://patch.msgid.link/20250227-remove_wrong_header-v1-1-bc94eb4e2f73@bootlin.com
+Signed-off-by: Alexei Starovoitov <ast@kernel.org>
+[shung-hsi.yu: Fix compilation error mentioned in footer of Alexis'
+patch with newer glibc header:
+
+  [...]
+    CLNG-BPF [test_progs-cpuv4] test_select_reuseport_kern.bpf.o
+  In file included from progs/test_select_reuseport_kern.c:4:
+  /usr/include/bits/floatn.h:83:52: error: unsupported machine mode
+  '__TC__'
+     83 | typedef _Complex float __cfloat128 __attribute__ ((__mode__
+  (__TC__)));
+        |                                                    ^
+  /usr/include/bits/floatn.h:97:9: error: __float128 is not supported on
+  this target
+     97 | typedef __float128 _Float128;
+
+I'm not certain when the problem starts to occur, but I'm quite sure
+test_select_reuseport_kern.c were not meant to be using the C standard
+library in the first place.]
+Signed-off-by: Shung-Hsi Yu <shung-hsi.yu@suse.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ tools/testing/selftests/bpf/progs/test_select_reuseport_kern.c |    1 -
+ 1 file changed, 1 deletion(-)
+
+--- a/tools/testing/selftests/bpf/progs/test_select_reuseport_kern.c
++++ b/tools/testing/selftests/bpf/progs/test_select_reuseport_kern.c
+@@ -1,7 +1,6 @@
+ // SPDX-License-Identifier: GPL-2.0
+ /* Copyright (c) 2018 Facebook */
+-#include <stdlib.h>
+ #include <linux/in.h>
+ #include <linux/ip.h>
+ #include <linux/ipv6.h>
index 48b382120ab8d8a7b428e46c9fc5c2e72e565fd3..49d84e74019ad4c6b346fcc3a5f078344cfba5b1 100644 (file)
@@ -84,3 +84,4 @@ drm-amdgpu-gfx11-adjust-kgq-reset-sequence.patch
 pinctrl-lpass-lpi-implement-.get_direction-for-the-gpio-driver.patch
 net-mana-change-the-function-signature-of-mana_get_primary_netdev_rcu.patch
 rdma-mana_ib-handle-net-event-for-pointing-to-the-current-netdev.patch
+bpf-selftests-test_select_reuseport_kern-remove-unused-header.patch