* iptables >= 1.4.5
- * kernel-devel >= 3.4
+ * kernel-devel >= 3.5
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 4; then
+ elif test "$kmajor" -eq 3 -a "$kminor" -ge 5; then
:;
else
echo "WARNING: That kernel version is not officially supported.";
HEAD
====
Changes:
-- remove support for Linux 2.6.17–3.3
+- remove support for Linux 2.6.17–3.4
- remove xt_TEE (this is available upstream since 2.6.35)
- remove xt_CHECKSUM (this is available upstream since 2.6.36)
}
EXPORT_SYMBOL_GPL(HX_memmem);
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 5, 0) && defined(WITH_IPV6)
-int xtnu_ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset,
- int target, unsigned short *fragoff, int *fragflg)
-{
- return ipv6_find_hdr(skb, offset, target, fragoff);
-}
-EXPORT_SYMBOL_GPL(xtnu_ipv6_find_hdr);
-#endif
-
MODULE_LICENSE("GPL");
#define DEBUGP Use__pr_debug__instead
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0)
-# warning Kernels below 3.4 not supported.
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 5, 0)
+# warning Kernels below 3.5 not supported.
#endif
#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)
# define NIPQUAD_FMT "%u.%u.%u.%u"
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 5, 0)
-# define ipv6_find_hdr xtnu_ipv6_find_hdr
-#endif
-
#define ip_route_me_harder xtnu_ip_route_me_harder
#define skb_make_writable xtnu_skb_make_writable
#define xt_target xtnu_target