From 4fb71eb7761655109d5416fcda7a73a4ca84358b Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 27 Feb 2019 15:26:38 +0100 Subject: queueing: net-next has changed signature of skb_probe_transport_header --- src/compat/compat.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/compat/compat.h') diff --git a/src/compat/compat.h b/src/compat/compat.h index e08edca..7a61e4c 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -773,6 +773,11 @@ struct __kernel_timespec { #endif #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 1, 0) +#include +#define skb_probe_transport_header(a) skb_probe_transport_header(a, 0) +#endif + /* https://github.com/ClangBuiltLinux/linux/issues/7 */ #if defined( __clang__) && (!defined(CONFIG_CLANG_VERSION) || CONFIG_CLANG_VERSION < 80000) #include -- cgit v1.2.3-59-g8ed1b