[netfilter-cvslog] r6731 - trunk/patch-o-matic-ng/patchlets/TARPIT/linux-2.6/net/ipv4/netfilter

kaber at netfilter.org kaber at netfilter.org
Thu Jan 11 11:17:39 CET 2007


Author: kaber at netfilter.org
Date: 2007-01-11 11:17:39 +0100 (Thu, 11 Jan 2007)
New Revision: 6731

Modified:
   trunk/patch-o-matic-ng/patchlets/TARPIT/linux-2.6/net/ipv4/netfilter/ipt_TARPIT.c
Log:
[PATCH pom-ng] ipt_TARPIT for Linux 2.6.19 (Max Kellermann <max at duempel.org>)

this patch makes ipt_TARPIT.c conform to the Linux 2.6.19 API.


Modified: trunk/patch-o-matic-ng/patchlets/TARPIT/linux-2.6/net/ipv4/netfilter/ipt_TARPIT.c
===================================================================
--- trunk/patch-o-matic-ng/patchlets/TARPIT/linux-2.6/net/ipv4/netfilter/ipt_TARPIT.c	2007-01-11 09:08:22 UTC (rev 6730)
+++ trunk/patch-o-matic-ng/patchlets/TARPIT/linux-2.6/net/ipv4/netfilter/ipt_TARPIT.c	2007-01-11 10:17:39 UTC (rev 6731)
@@ -35,7 +35,6 @@
  * - Reply to TCP !SYN,!RST,!FIN with ACK, window 0 bytes, rate-limited
  */
 
-#include <linux/config.h>
 #include <linux/version.h>
 #include <linux/module.h>
 #include <linux/skbuff.h>
@@ -214,8 +213,8 @@
 			   const struct net_device *in,
 			   const struct net_device *out,
 			   unsigned int hooknum,
-			   const void *targinfo,
-			   void *userinfo)
+			   const struct xt_target *target,
+			   const void *targinfo)
 {
 	struct sk_buff *skb = *pskb;
 	struct rtable *rt = (struct rtable*)skb->dst;
@@ -249,8 +248,8 @@
 
 static int check(const char *tablename,
 		 const void *e_void,
+		 const struct xt_target *target,
 		 void *targinfo,
-		 unsigned int targinfosize,
 		 unsigned int hook_mask)
 {
 	const struct ipt_entry *e = e_void;




More information about the netfilter-cvslog mailing list