summaryrefslogtreecommitdiff
path: root/samples/bpf/sock_flags_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/bpf/sock_flags_kern.c')
-rw-r--r--samples/bpf/sock_flags_kern.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/samples/bpf/sock_flags_kern.c b/samples/bpf/sock_flags_kern.c
index 84837ed48eb3..0da749f6a9e1 100644
--- a/samples/bpf/sock_flags_kern.c
+++ b/samples/bpf/sock_flags_kern.c
@@ -1,8 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
+#include "vmlinux.h"
#include "net_shared.h"
-#include <uapi/linux/bpf.h>
-#include <linux/net.h>
-#include <uapi/linux/in.h>
-#include <uapi/linux/in6.h>
#include <bpf/bpf_helpers.h>
SEC("cgroup/sock")