]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
build: remove support for Linux 3.9
authorJan Engelhardt <jengelh@inai.de>
Mon, 12 Feb 2018 13:43:20 +0000 (14:43 +0100)
committerJan Engelhardt <jengelh@inai.de>
Mon, 12 Feb 2018 13:45:00 +0000 (14:45 +0100)
configure.ac
doc/changelog.txt
extensions/compat_xtables.h

index 8aa9cd24882cf650a40ad2133973835bd166976b..25ac9d428fe2a6f0b3349c8cec7f6b386af554d8 100644 (file)
@@ -61,7 +61,7 @@ if test -n "$kbuilddir"; then
                        echo "WARNING: That kernel version is not officially supported yet. Continue at own luck.";
                elif test "$kmajor" -eq 4 -a "$kminor" -le 10; then
                        :;
-               elif test "$kmajor" -eq 3 -a "$kminor" -ge 9; then
+               elif test "$kmajor" -eq 3 -a "$kminor" -ge 10; then
                        :;
                else
                        echo "WARNING: That kernel version is not officially supported.";
index 68e4b440767e7302cf5f3a81d864fc1fb40ce350..871f1601be2a2f4937231126c7560af772304d6d 100644 (file)
@@ -4,7 +4,7 @@ HEAD
 Enhancements:
 - support for Linux up to 4.15
 Changes:
-- remove support for Linux 3.7--3.8
+- remove support for Linux 3.7--3.9
 
 
 v2.14 (2017-11-22)
index a96c5501772566e737b3e6027debe4001bfa2934..b3fc710e2c10836aa414da229c8af6fa76ae49dc 100644 (file)
@@ -8,8 +8,8 @@
 
 #define DEBUGP Use__pr_debug__instead
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 9, 0)
-#      warning Kernels below 3.9 not supported.
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
+#      warning Kernels below 3.10 not supported.
 #endif
 
 #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)
 #      define NIPQUAD_FMT "%hhu.%hhu.%hhu.%hhu"
 #endif
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
-static inline void proc_set_user(struct proc_dir_entry *de,
-    typeof(de->uid) uid, typeof(de->gid) gid)
-{
-       de->uid = uid;
-       de->gid = gid;
-}
-
-static inline void *PDE_DATA(struct inode *inode)
-{
-       return PDE(inode)->data;
-}
-
-static inline void proc_remove(struct proc_dir_entry *de)
-{
-       if (de != NULL)
-               remove_proc_entry(de->name, de->parent);
-}
-#endif
-
 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 4, 0)
 #      define ip6_local_out(xnet, xsk, xskb) ip6_local_out(xskb)
 #      define ip6_route_me_harder(xnet, xskb) ip6_route_me_harder(xskb)