diff options
| author | Michael Forney <mforney@mforney.org> | 2024-03-16 00:17:10 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2024-03-17 00:27:08 -0700 |
| commit | b2f81fb67cfd273ed556da99d8489dfd4fe1e9c0 (patch) | |
| tree | 90b10ad0a3af33474c9fbfa55bde6fe061f1055f /pkg/iproute2/patch/0016-Make-struct-bpf_timer-include-a-named-member.patch | |
| parent | 0abe55ca58448382acd9de91e2474d9735d3b72f (diff) | |
iproute2: Update to 6.8.0
Diffstat (limited to 'pkg/iproute2/patch/0016-Make-struct-bpf_timer-include-a-named-member.patch')
| -rw-r--r-- | pkg/iproute2/patch/0016-Make-struct-bpf_timer-include-a-named-member.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/pkg/iproute2/patch/0016-Make-struct-bpf_timer-include-a-named-member.patch b/pkg/iproute2/patch/0016-Make-struct-bpf_timer-include-a-named-member.patch deleted file mode 100644 index 3645dce4..00000000 --- a/pkg/iproute2/patch/0016-Make-struct-bpf_timer-include-a-named-member.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 5a2587077e91d489ad9708cf5614bb5fecbb02aa Mon Sep 17 00:00:00 2001 -From: Michael Forney <mforney@mforney.org> -Date: Thu, 2 Dec 2021 14:49:08 -0800 -Subject: [PATCH] Make struct bpf_timer include a named member - -A struct without any named members is undefined behavior by C11 -6.7.2.1p8. - -Signed-off-by: Michael Forney <mforney@mforney.org> ---- - include/uapi/linux/bpf.h | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h -index 964719f9..f71d7e90 100644 ---- a/include/uapi/linux/bpf.h -+++ b/include/uapi/linux/bpf.h -@@ -6250,9 +6250,8 @@ struct bpf_spin_lock { - }; - - struct bpf_timer { -- __u64 :64; -- __u64 :64; --} __attribute__((aligned(8))); -+ __u64 reserved[2]; -+}; - - struct bpf_sysctl { - __u32 write; /* Sysctl is being read (= 0) or written (= 1). --- -2.34.1 - |
