aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/bpf_struct_ops_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/bpf/bpf_struct_ops_types.h')
-rw-r--r--kernel/bpf/bpf_struct_ops_types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/kernel/bpf/bpf_struct_ops_types.h b/kernel/bpf/bpf_struct_ops_types.h
index 7bb13ff49ec2..066d83ea1c99 100644
--- a/kernel/bpf/bpf_struct_ops_types.h
+++ b/kernel/bpf/bpf_struct_ops_types.h
@@ -1,4 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* internal file - do not include directly */
-/* To be filled in a later patch */
+#ifdef CONFIG_BPF_JIT
+#ifdef CONFIG_INET
+#include <net/tcp.h>
+BPF_STRUCT_OPS_TYPE(tcp_congestion_ops)
+#endif
+#endif