From: Greg Kroah-Hartman Date: Tue, 27 Feb 2024 13:12:59 +0000 (+0100) Subject: 5.4-stable patches X-Git-Tag: v4.19.308~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cd977432194e38054b5af0f2dd13a14f25fa40d6;p=thirdparty%2Fkernel%2Fstable-queue.git 5.4-stable patches added patches: scripts-bpf-fix-xdp_md-forward-declaration-typo.patch --- diff --git a/queue-5.4/scripts-bpf-fix-xdp_md-forward-declaration-typo.patch b/queue-5.4/scripts-bpf-fix-xdp_md-forward-declaration-typo.patch new file mode 100644 index 00000000000..800808d3b9c --- /dev/null +++ b/queue-5.4/scripts-bpf-fix-xdp_md-forward-declaration-typo.patch @@ -0,0 +1,32 @@ +From e0b68fb186b251374adbd870f99b1ecea236e770 Mon Sep 17 00:00:00 2001 +From: Andrii Nakryiko +Date: Wed, 9 Oct 2019 21:25:34 -0700 +Subject: scripts/bpf: Fix xdp_md forward declaration typo + +From: Andrii Nakryiko + +commit e0b68fb186b251374adbd870f99b1ecea236e770 upstream. + +Fix typo in struct xpd_md, generated from bpf_helpers_doc.py, which is +causing compilation warnings for programs using bpf_helpers.h + +Fixes: 7a387bed47f7 ("scripts/bpf: teach bpf_helpers_doc.py to dump BPF helper definitions") +Signed-off-by: Andrii Nakryiko +Signed-off-by: Alexei Starovoitov +Link: https://lore.kernel.org/bpf/20191010042534.290562-1-andriin@fb.com +Signed-off-by: Greg Kroah-Hartman +--- + scripts/bpf_helpers_doc.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/scripts/bpf_helpers_doc.py ++++ b/scripts/bpf_helpers_doc.py +@@ -418,7 +418,7 @@ class PrinterHelpers(Printer): + + 'struct __sk_buff', + 'struct sk_msg_md', +- 'struct xpd_md', ++ 'struct xdp_md', + ] + known_types = { + '...', diff --git a/queue-5.4/series b/queue-5.4/series index b3e6a460a4b..90b383f2cae 100644 --- a/queue-5.4/series +++ b/queue-5.4/series @@ -81,3 +81,4 @@ netfilter-nf_tables-set-dormant-flag-on-hook-registe.patch drm-syncobj-make-lockdep-complain-on-wait_for_submit.patch drm-syncobj-call-drm_syncobj_fence_add_wait-when-wai.patch fs-aio-restrict-kiocb_set_cancel_fn-to-i-o-submitted-via-libaio.patch +scripts-bpf-fix-xdp_md-forward-declaration-typo.patch