Commit 7d714ff1 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller

net: fixup build after bpf header changes

Recent bpf-next merge brought in header changes which uncovered
includes missing in net-next which were not present in bpf-next.
Build problems happen only on less-popular arches like hppa,
sparc, alpha etc.

I could repro the build problem with ice but not the mlx5 problem
Abdul was reporting. mlx5 does look like it should include filter.h,
anyway.
Reported-by: default avatarAbdul Haleem <abdhalee@linux.vnet.ibm.com>
Fixes: e63a0234 ("Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next")
Link: https://lore.kernel.org/all/7c03768d-d948-c935-a7ab-b1f963ac7eed@linux.vnet.ibm.com/Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c3e6b2c3
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2018, Intel Corporation. */ /* Copyright (c) 2018, Intel Corporation. */
#include <linux/vmalloc.h>
#include "ice_common.h" #include "ice_common.h"
/** /**
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
#include <net/geneve.h> #include <net/geneve.h>
#include <linux/bpf.h> #include <linux/bpf.h>
#include <linux/if_bridge.h> #include <linux/if_bridge.h>
#include <linux/filter.h>
#include <net/page_pool.h> #include <net/page_pool.h>
#include <net/xdp_sock_drv.h> #include <net/xdp_sock_drv.h>
#include "eswitch.h" #include "eswitch.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment