diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-12-30 02:27:41 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-12-30 05:03:05 +0100 |
commit | 3b80b73a4b3de38f72cd79e1a157449917f2bcb5 (patch) | |
tree | 0e6492283c123ba05d990488f642bbe01de4cd3f /kernel/bpf | |
parent | Merge branch 'Sleepable local storage' (diff) | |
download | linux-3b80b73a4b3de38f72cd79e1a157449917f2bcb5.tar.xz linux-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 'kernel/bpf')
-rw-r--r-- | kernel/bpf/net_namespace.c | 1 |
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> |