]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
6.1-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Jun 2023 10:42:58 +0000 (11:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Jun 2023 10:42:58 +0000 (11:42 +0100)
added patches:
tools-headers-uapi-sync-the-linux-in.h-with-the-kernel-sources.patch

queue-6.1/series
queue-6.1/tools-headers-uapi-sync-the-linux-in.h-with-the-kernel-sources.patch [new file with mode: 0644]

index 863168a2769785ba66d989419f4041d3ac893005..ca83f24344549e670e79f23658dc695b7d68bf5c 100644 (file)
@@ -39,3 +39,4 @@ block-fix-bio-cache-for-passthru-io.patch
 cpufreq-amd-pstate-update-policy-cur-in-amd_pstate_adjust_perf.patch
 cpufreq-amd-pstate-add-fast_switch-callback.patch
 netfilter-ctnetlink-support-offloaded-conntrack-entry-deletion.patch
+tools-headers-uapi-sync-the-linux-in.h-with-the-kernel-sources.patch
diff --git a/queue-6.1/tools-headers-uapi-sync-the-linux-in.h-with-the-kernel-sources.patch b/queue-6.1/tools-headers-uapi-sync-the-linux-in.h-with-the-kernel-sources.patch
new file mode 100644 (file)
index 0000000..4e1d520
--- /dev/null
@@ -0,0 +1,45 @@
+From 5d1ac59ff7445e51a0e4958fa39ac8aa23691698 Mon Sep 17 00:00:00 2001
+From: Yanteng Si <siyanteng@loongson.cn>
+Date: Wed, 10 May 2023 18:21:44 +0800
+Subject: tools headers UAPI: Sync the linux/in.h with the kernel sources
+
+From: Yanteng Si <siyanteng@loongson.cn>
+
+commit 5d1ac59ff7445e51a0e4958fa39ac8aa23691698 upstream.
+
+Picking the changes from:
+
+  91d0b78c5177f3e4 ("inet: Add IP_LOCAL_PORT_RANGE socket option")
+
+Silencing these perf build warnings:
+
+  Warning: Kernel ABI header at 'tools/include/uapi/linux/in.h' differs from latest version at 'include/uapi/linux/in.h'
+  diff -u tools/include/uapi/linux/in.h include/uapi/linux/in.h
+
+Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
+Cc: Adrian Hunter <adrian.hunter@intel.com>
+Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
+Cc: Ian Rogers <irogers@google.com>
+Cc: Ingo Molnar <mingo@redhat.com>
+Cc: Jiri Olsa <jolsa@kernel.org>
+Cc: Mark Rutland <mark.rutland@arm.com>
+Cc: Namhyung Kim <namhyung@kernel.org>
+Cc: Peter Zijlstra <peterz@infradead.org>
+Cc: loongson-kernel@lists.loongnix.cn
+Link: https://lore.kernel.org/r/23aabc69956ac94fbf388b05c8be08a64e8c7ccc.1683712945.git.siyanteng@loongson.cn
+Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ tools/include/uapi/linux/in.h |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/tools/include/uapi/linux/in.h
++++ b/tools/include/uapi/linux/in.h
+@@ -162,6 +162,7 @@ struct in_addr {
+ #define MCAST_MSFILTER                        48
+ #define IP_MULTICAST_ALL              49
+ #define IP_UNICAST_IF                 50
++#define IP_LOCAL_PORT_RANGE           51
+ #define MCAST_EXCLUDE 0
+ #define MCAST_INCLUDE 1