aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/net_namespace.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-12-29 17:27:41 -0800
committerAlexei Starovoitov <ast@kernel.org>2021-12-29 20:03:05 -0800
commit3b80b73a4b3de38f72cd79e1a157449917f2bcb5 (patch)
tree0e6492283c123ba05d990488f642bbe01de4cd3f /kernel/bpf/net_namespace.c
parentMerge branch 'Sleepable local storage' (diff)
downloadlinux-dev-3b80b73a4b3de38f72cd79e1a157449917f2bcb5.tar.xz
linux-dev-3b80b73a4b3de38f72cd79e1a157449917f2bcb5.zip
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 '')
-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>