From a96f9d3c1207e8df50ecfe5f86f88a5c776e72e3 Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Sat, 24 Aug 2019 22:37:50 -0700 Subject: compat: account for android-4.9 backport of addr_gen_mode Android kernels backported d35a00b8e33dab7385f724e713ae71c8be0a49f4, so now we need to do feature detection. Link: https://android-review.googlesource.com/c/kernel/common/+/1103831 Signed-off-by: Nathan Chancellor --- src/compat/compat.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/compat/compat.h') diff --git a/src/compat/compat.h b/src/compat/compat.h index c98d623..fb09037 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -600,10 +600,6 @@ static int wg_get_device_dump_real(a, b) #define COMPAT_CANNOT_USE_IN6_DEV_GET #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0) -#define COMPAT_CANNOT_USE_DEV_CNF -#endif - #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 3, 0) #define COMPAT_CANNOT_USE_IFF_NO_QUEUE #endif -- cgit v1.2.3-59-g8ed1b