1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 19:11:51 +00:00
openmptcprouter-feeds/ndpi-netfilter2/patches/002-no-livepatch-required.patch

17 lines
479 B
Diff
Raw Normal View History

2023-12-22 19:25:35 +00:00
--- a/ndpi-netfilter/src/main.c 2023-12-22 18:09:04.107421950 +0100
+++ b/ndpi-netfilter/src/main.c 2023-12-22 18:10:11.038240353 +0100
@@ -103,13 +103,7 @@
2023-07-15 12:35:21 +00:00
static char debug_name[]="debug";
static char risk_name[]="risks";
2023-12-22 19:25:35 +00:00
-#ifdef CONFIG_NF_CONNTRACK_DESTROY_HOOK
#define USE_NF_CONNTRACK_DESTROY_HOOK
-#elif LINUX_VERSION_CODE > KERNEL_VERSION(5,19,0)
2023-07-15 12:35:21 +00:00
-#ifndef USE_LIVEPATCH
2023-12-22 19:25:35 +00:00
-#define USE_LIVEPATCH
-#endif
-#endif
2023-07-15 12:35:21 +00:00
#ifdef USE_LIVEPATCH
2023-12-22 19:25:35 +00:00
#if IS_ENABLED(CONFIG_LIVEPATCH)