summaryrefslogtreecommitdiff
path: root/include/net/erspan.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-07-20 16:57:58 -0700
committerDavid S. Miller <davem@davemloft.net>2022-07-22 12:53:22 +0100
commit949d6b405e6160ae44baea39192d67b39cb7eeac (patch)
treeae84afaae8ee6a3d1ea2543b46655493fb1eca19 /include/net/erspan.h
parent735dbc69ab719f5e3c84f7c669b5b3ad05f684bb (diff)
net: add missing includes and forward declarations under net/
This patch adds missing includes to headers under include/net. All these problems are currently masked by the existing users including the missing dependency before the broken header. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/erspan.h')
-rw-r--r--include/net/erspan.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/erspan.h b/include/net/erspan.h
index 0d9e86bd9893..6cb4cbd6a48f 100644
--- a/include/net/erspan.h
+++ b/include/net/erspan.h
@@ -58,6 +58,9 @@
* GRE proto ERSPAN type I/II = 0x88BE, type III = 0x22EB
*/
+#include <linux/ip.h>
+#include <linux/ipv6.h>
+#include <linux/skbuff.h>
#include <uapi/linux/erspan.h>
#define ERSPAN_VERSION 0x1 /* ERSPAN type II */