build: remove support for Linux 3.1

This commit is contained in:
Jan Engelhardt
2012-10-16 04:00:02 +02:00
parent 6d74f76a29
commit b25e96fd49
5 changed files with 6 additions and 8 deletions

View File

@@ -14,7 +14,7 @@ Supported configurations for this release
* 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

View File

@@ -65,7 +65,7 @@ if test -n "$kbuilddir"; then
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.";

View File

@@ -2,7 +2,7 @@
HEAD
====
Changes:
- remove support for Linux 2.6.173.0
- remove support for Linux 2.6.173.1
- remove xt_TEE (this is available upstream since 2.6.35)
- remove xt_CHECKSUM (this is available upstream since 2.6.36)

View File

@@ -21,9 +21,7 @@
#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 "compat_skbuff.h"
#include "compat_xtnu.h"
#if defined(CONFIG_IP6_NF_IPTABLES) || defined(CONFIG_IP6_NF_IPTABLES_MODULE)

View File

@@ -8,8 +8,8 @@
#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)