condition: compile fix for 2.6.30-rc

This commit is contained in:
Bryan Duff
2009-04-15 09:07:26 -05:00
committed by Jan Engelhardt
parent 0a23bd2580
commit e36c7575fc
2 changed files with 3 additions and 0 deletions

View 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

View 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;