]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
xt_ipp2p: document BM textsearch as hard requirement
authorJan Engelhardt <jengelh@inai.de>
Sun, 7 Apr 2024 12:27:48 +0000 (14:27 +0200)
committerJan Engelhardt <jengelh@inai.de>
Mon, 15 Apr 2024 07:36:53 +0000 (09:36 +0200)
INSTALL.rst
extensions/xt_ipp2p.c

index 3eba5952b8d8665191982bca6655653cb546918c..e7914a698ae5df4df55427e2b9b7359b42cdbc6b 100644 (file)
@@ -24,7 +24,11 @@ Supported configurations for this release
   * ``CONFIG_NF_CONNTRACK_MARK`` enabled =y or as module (=m)
 
   * ``CONFIG_CONNECTOR`` y/m if you wish to receive userspace
-    notifications from pknock through netlink/connector
+    notifications from pknock through netlink/connector (if not, edit the
+    ``mconfig`` file in Xtables-addons to exclude pknock)
+
+  * ``CONFIG_TEXTSEARCH_BM`` y/m if you wish to use xt_ipp2p (if not, edit the
+    ``mconfig`` file in Xtables-addons to exclude ipp2p)
 
 (Use xtables-addons-1.x if you need support for Linux < 3.7.
 Use xtables-addons-2.x if you need support for Linux < 4.15.
index eba0b55812731cd2e518540ef2be63d13b7a7d9d..0eb31903d31a63adff41798831dbde87291155d9 100644 (file)
@@ -9,6 +9,9 @@
 #include <asm/unaligned.h>
 #include "xt_ipp2p.h"
 #include "compat_xtables.h"
+#if !defined(CONFIG_TEXTSEARCH_BM) && !defined(CONFIG_TEXTSEARCH_BM_MODULE)
+#      error CONFIG_TEXTSEARCH_BM=y/m is required for ipp2p. Either enable textsearch in your kernel ".config" file, or disable ipp2p in the "mconfig" file in Xtables-addons.
+#endif
 
 //#define IPP2P_DEBUG_ARES
 //#define IPP2P_DEBUG_SOUL