From 40350136f330bfe61a22f028ce4245295131c275 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 4 Feb 2026 15:13:06 +0100 Subject: [PATCH] 6.12-stable patches added patches: bpf-selftests-test_select_reuseport_kern-remove-unused-header.patch --- ..._reuseport_kern-remove-unused-header.patch | 56 +++++++++++++++++++ queue-6.12/series | 1 + 2 files changed, 57 insertions(+) create mode 100644 queue-6.12/bpf-selftests-test_select_reuseport_kern-remove-unused-header.patch 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 index 0000000000..253b2ea767 --- /dev/null +++ b/queue-6.12/bpf-selftests-test_select_reuseport_kern-remove-unused-header.patch @@ -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?= + +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) + +commit 93cf4e537ed0c5bd9ba6cbdb2c33864547c1442f upstream. + +test_select_reuseport_kern.c is currently including , 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) +Signed-off-by: Martin KaFai Lau +Link: https://patch.msgid.link/20250227-remove_wrong_header-v1-1-bc94eb4e2f73@bootlin.com +Signed-off-by: Alexei Starovoitov +[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 +Signed-off-by: Greg Kroah-Hartman +--- + 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 + #include + #include + #include diff --git a/queue-6.12/series b/queue-6.12/series index 48b382120a..49d84e7401 100644 --- a/queue-6.12/series +++ b/queue-6.12/series @@ -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 -- 2.47.3