summaryrefslogtreecommitdiffhomepage
path: root/src/compat
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-04-16 00:27:33 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-04-16 03:25:09 -0600
commitbd388363a66d67f0e04f9c45b20a9f33dfcf79f6 (patch)
tree04dfc72ba1624380423c35e7a7a291fa8b67b6ec /src/compat
parent52978fcc265c472773b0b334d31705573ae8cb98 (diff)
compat: include sch_generic.h header for skb_reset_tc
Reported-by: King DuckZ <dev00@gmx.it> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat')
-rw-r--r--src/compat/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h
index 75bd3b7..bb996b8 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -1029,6 +1029,7 @@ out:
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 29) || (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(5, 5, 14))
#include <linux/skbuff.h>
+#include <net/sch_generic.h>
static inline void skb_reset_redirect(struct sk_buff *skb)
{
#ifdef CONFIG_NET_SCHED