From bf4c1698b732ef22266f608db1286149e20bd6e2 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 31 May 2017 02:59:54 +0200 Subject: compat: remove warning for < 4.1 It still is sort of experimental, I suppose, especially this part in the udp_tunnel drop-in: skb_orphan(skb); sk_mem_reclaim(sk); It seems like sometimes this won't do what we want, but it's hard to diagnose exactly what's happening. In any case, nobody paid attention to that warning anyway, so let's just get rid of it. Signed-off-by: Jason A. Donenfeld --- src/compat/compat.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/compat/compat.h b/src/compat/compat.h index f9cfc08..e504a0b 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -9,8 +9,6 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0) #error "WireGuard requires Linux >= 3.10" -#elif LINUX_VERSION_CODE < KERNEL_VERSION(4, 1, 0) -#warning "WireGuard support for kernels < 4.1 should work but is slightly experimental." #endif /* These conditionals can't be enforced by an out of tree module very easily, -- cgit v1.2.3