* iptables >= 1.4.5
- * kernel-devel >= 3.1
+ * kernel-devel >= 3.2
with prepared build/output directory
- CONFIG_NF_CONNTRACK or CONFIG_IP_NF_CONNTRACK
- CONFIG_NF_CONNTRACK_MARK or CONFIG_IP_NF_CONNTRACK_MARK
echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir";
if test "$kmajor" -gt 3 -o "$kmajor" -eq 3 -a "$kminor" -gt 6; then
echo "WARNING: That kernel version is not officially supported.";
- elif test "$kmajor" -eq 3 -a "$kminor" -ge 1; then
+ elif test "$kmajor" -eq 3 -a "$kminor" -ge 2; then
:;
else
echo "WARNING: That kernel version is not officially supported.";
HEAD
====
Changes:
-- remove support for Linux 2.6.17–3.0
+- remove support for Linux 2.6.17–3.1
- remove xt_TEE (this is available upstream since 2.6.35)
- remove xt_CHECKSUM (this is available upstream since 2.6.36)
#include <net/ip.h>
#include <net/ipv6.h>
#include <net/route.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0)
-# include <linux/export.h>
-#endif
+#include <linux/export.h>
#include "compat_skbuff.h"
#include "compat_xtnu.h"
#if defined(CONFIG_IP6_NF_IPTABLES) || defined(CONFIG_IP6_NF_IPTABLES_MODULE)
#define DEBUGP Use__pr_debug__instead
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 1, 0)
-# warning Kernels below 3.1 not supported.
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 2, 0)
+# warning Kernels below 3.2 not supported.
#endif
#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)