]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
condition: compile fix for 2.6.30-rc
authorBryan Duff <bduff@ecessa.com>
Wed, 15 Apr 2009 14:07:26 +0000 (09:07 -0500)
committerJan Engelhardt <jengelh@medozas.de>
Fri, 17 Apr 2009 14:01:45 +0000 (16:01 +0200)
doc/changelog.txt
extensions/xt_condition.c

index d511eb4d2b1bf7b2a39140748282fd0908671c2c..cf7c6505fbce127504000f2929fcd2b266cb396f 100644 (file)
@@ -1,5 +1,6 @@
 
 
+- condition: compile fix for 2.6.30-rc
 - fuzzy: fix bogus comparison logic leftover from move to new 1.4.3 API
 - ipp2p: fix bogus varargs call
 - ipp2p: fix typo in error message
index cfcaa13eb025f1192c053c033ad48b2726f9bc9e..28792a46d406eb1b3a0699cf55362baea45a130e 100644 (file)
@@ -161,7 +161,9 @@ static bool condition_mt_check(const struct xt_mtchk_param *par)
 
        var->refcount = 1;
        var->enabled  = false;
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 29)
        var->status_proc->owner = THIS_MODULE;
+#endif
        var->status_proc->data  = var;
        wmb();
        var->status_proc->read_proc  = condition_proc_read;