Changeset 10318


Ignore:
Timestamp:
2008-01-30T08:04:48+01:00 (10 years ago)
Author:
juhosg
Message:

[kernel] netfilter: fix xt_TARPIT on 2.6.24

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic-2.6/patches-2.6.24/171-netfilter_tarpit.patch

    r10291 r10318  
    4343--- /dev/null 
    4444+++ linux-2.6.23/net/netfilter/xt_TARPIT.c 
    45 @@ -0,0 +1,280 @@ 
     45@@ -0,0 +1,279 @@ 
    4646+/* 
    4747+ * Kernel module to capture and hold incoming TCP connections using 
     
    247247+} 
    248248+ 
    249 +static unsigned int xt_tarpit_target(struct sk_buff **pskb, 
     249+static unsigned int xt_tarpit_target(struct sk_buff *skb, 
    250250+                                     const struct net_device *in, 
    251251+                                     const struct net_device *out, 
     
    254254+                                     const void *targinfo) 
    255255+{ 
    256 +       const struct sk_buff *skb = *pskb; 
    257256+       const struct iphdr *iph   = ip_hdr(skb); 
    258257+       struct rtable *rt         = (void *)skb->dst; 
Note: See TracChangeset for help on using the changeset viewer.