]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
xt_CHECKSUM: abort build when the feature is already provided by mainline
authorJan Engelhardt <jengelh@medozas.de>
Fri, 12 Aug 2011 13:39:57 +0000 (15:39 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Fri, 12 Aug 2011 13:42:39 +0000 (15:42 +0200)
doc/changelog.txt
extensions/xt_CHECKSUM.c

index 1b43499cf6bd151590d1fc4c5bf3d0523de3a13b..ccbb93e4d73ee40dd111568b9ca18988fd2cad35 100644 (file)
@@ -1,6 +1,7 @@
 
 HEAD
 ====
+- xt_CHECKSUM: abort build when the feature is already provided by mainline
 - xt_TARPIT: fix kernel warning about RTAX_HOPLIMIT being used
 - xt_TEE: abort build when the feature is already provided by mainline
 - xt_psd: restore functionality with UDP
index 548860c3d961da942d9b469f4c4b81f1d0a2ab49..f565d82bbce92acbd24b2e6015e6c9fe98b87b40 100644 (file)
 #include <linux/module.h>
 #include <linux/skbuff.h>
 
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36)
+#      error ----------------------------------------------------------
+#      error This module has been merged into, and is available in the
+#      error mainline since Linux kernel v2.6.36. Please use that.
+#      error ----------------------------------------------------------
+#endif
+
 #include <linux/netfilter/x_tables.h>
 #include "xt_CHECKSUM.h"
 #include "compat_xtables.h"