aboutsummaryrefslogtreecommitdiff
path: root/kernel/bpf
diff options
context:
space:
mode:
authorJakub Kicinski2021-12-29 17:27:41 -0800
committerAlexei Starovoitov2021-12-29 20:03:05 -0800
commit3b80b73a4b3de38f72cd79e1a157449917f2bcb5 (patch)
tree0e6492283c123ba05d990488f642bbe01de4cd3f /kernel/bpf
parent1705c62e300550e8cfac0d9d1c3869fb860f3162 (diff)
net: Add includes masked by netdevice.h including uapi/bpf.h
Add missing includes unmasked by the subsequent change. Mostly network drivers missing an include for XDP_PACKET_HEADROOM. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20211230012742.770642-2-kuba@kernel.org
Diffstat (limited to 'kernel/bpf')
-rw-r--r--kernel/bpf/net_namespace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/bpf/net_namespace.c b/kernel/bpf/net_namespace.c
index 542f275bf252..868cc2c43899 100644
--- a/kernel/bpf/net_namespace.c
+++ b/kernel/bpf/net_namespace.c
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
#include <linux/bpf.h>
+#include <linux/bpf-netns.h>
#include <linux/filter.h>
#include <net/net_namespace.h>