From d092468f1196033ee71c06b165e60aa267334182 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 29 Oct 2024 21:33:41 -0700 Subject: [PATCH] uapi: update to bpf.h Stay insync with upstream Signed-off-by: Stephen Hemminger --- include/uapi/linux/bpf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h index c5fdc863..aa381a3d 100644 --- a/include/uapi/linux/bpf.h +++ b/include/uapi/linux/bpf.h @@ -1121,6 +1121,9 @@ enum bpf_attach_type { #define MAX_BPF_ATTACH_TYPE __MAX_BPF_ATTACH_TYPE +/* Add BPF_LINK_TYPE(type, name) in bpf_types.h to keep bpf_link_type_strs[] + * in sync with the definitions below. + */ enum bpf_link_type { BPF_LINK_TYPE_UNSPEC = 0, BPF_LINK_TYPE_RAW_TRACEPOINT = 1, -- 2.47.2