forked from runfalk/synology-wireguard
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patched out throwing error if kernel >= 5.6.0 in compat.h
- Loading branch information
1 parent
06889c8
commit 721b7f8
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- src/compat/compat.h 2022-06-27 12:54:37.000000000 +0200 | ||
+++ src/compat/compat.h 2024-03-31 01:44:27.000000000 +0100 | ||
@@ -37,10 +37,6 @@ | ||
#error "WireGuard requires Linux >= 3.10" | ||
#endif | ||
|
||
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0) | ||
-#error "WireGuard has been merged into Linux >= 5.6 and therefore this compatibility module is no longer required." | ||
-#endif | ||
- | ||
#if defined(ISRHEL7) | ||
#include <linux/skbuff.h> | ||
#define headers_end headers_start |