[netfilter-cvslog] r3654 - trunk/iptables/extensions
laforge at netfilter.org
laforge at netfilter.org
Mon Feb 7 19:44:31 CET 2005
Author: laforge at netfilter.org
Date: 2005-02-07 19:44:31 +0100 (Mon, 07 Feb 2005)
New Revision: 3654
Modified:
trunk/iptables/extensions/libipt_hashlimit.c
Log:
Fix rule deletion (hinfo pointer initialized by kernel, don't compare it in userspace). (Samuel Jean)
Modified: trunk/iptables/extensions/libipt_hashlimit.c
===================================================================
--- trunk/iptables/extensions/libipt_hashlimit.c 2005-02-07 18:38:49 UTC (rev 3653)
+++ trunk/iptables/extensions/libipt_hashlimit.c 2005-02-07 18:44:31 UTC (rev 3654)
@@ -355,8 +355,7 @@
.name = "hashlimit",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_hashlimit_info)),
- .userspacesize = IPT_ALIGN(sizeof(struct ipt_hashlimit_info)),
- //offsetof(struct ipt_hashlimit_info, prev),
+ .userspacesize = offsetof(struct ipt_hashlimit_info, hinfo),
.help = &help,
.init = &init,
.parse = &parse,
More information about the netfilter-cvslog
mailing list