diff --git a/include/linux/bpf_types.h b/include/linux/bpf_types.h index f883f01a5061..def596a85752 100644 --- a/include/linux/bpf_types.h +++ b/include/linux/bpf_types.h @@ -132,4 +132,5 @@ BPF_LINK_TYPE(BPF_LINK_TYPE_CGROUP, cgroup) BPF_LINK_TYPE(BPF_LINK_TYPE_ITER, iter) #ifdef CONFIG_NET BPF_LINK_TYPE(BPF_LINK_TYPE_NETNS, netns) +BPF_LINK_TYPE(BPF_LINK_TYPE_XDP, xdp) #endif