[netfilter-cvslog] r7082 - trunk/patch-o-matic-ng/patchlets/set/linux-2.6/net/ipv4/netfilter
kadlec at blackhole.kfki.hu
kadlec at blackhole.kfki.hu
Sun Oct 21 20:42:52 CEST 2007
Author: kadlec at blackhole.kfki.hu
Date: 2007-10-21 20:42:51 +0200 (Sun, 21 Oct 2007)
New Revision: 7082
Modified:
trunk/patch-o-matic-ng/patchlets/set/linux-2.6/net/ipv4/netfilter/ip_set.c
Log:
2.6.23 and upward compatibility fix
Modified: trunk/patch-o-matic-ng/patchlets/set/linux-2.6/net/ipv4/netfilter/ip_set.c
===================================================================
--- trunk/patch-o-matic-ng/patchlets/set/linux-2.6/net/ipv4/netfilter/ip_set.c 2007-10-20 15:17:30 UTC (rev 7081)
+++ trunk/patch-o-matic-ng/patchlets/set/linux-2.6/net/ipv4/netfilter/ip_set.c 2007-10-21 18:42:51 UTC (rev 7082)
@@ -1928,7 +1928,11 @@
.get_optmin = SO_IP_SET,
.get_optmax = SO_IP_SET + 1,
.get = &ip_set_sockfn_get,
- .use = 0
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
+ .use = 0,
+#else
+ .owner = THIS_MODULE,
+#endif
};
static int max_sets, hash_size;
More information about the netfilter-cvslog
mailing list