lkml.org 
[lkml]   [2000]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] netfilter: kfree(skb)
Hi,

Please take a look and consider applying.

- Arnaldo

diff -ur linux-2.4.0-test7-pre5/net/ipv4/netfilter/ip_queue.c linux-2.4.0-test7-pre5.acme/net/ipv4/netfilter/ip_queue.c
--- linux-2.4.0-test7-pre5/net/ipv4/netfilter/ip_queue.c Sun Aug 20 18:48:12 2000
+++ linux-2.4.0-test7-pre5.acme/net/ipv4/netfilter/ip_queue.c Sun Aug 20 19:23:56 2000
@@ -414,7 +414,7 @@
return skb;
nlmsg_failure:
if (skb)
- kfree(skb);
+ kfree_skb(skb);
*errp = 0;
printk(KERN_ERR "ip_queue: error creating netlink message\n");
return NULL;
diff -ur linux-2.4.0-test7-pre5/net/ipv4/netfilter/ipt_MIRROR.c linux-2.4.0-test7-pre5.acme/net/ipv4/netfilter/ipt_MIRROR.c
--- linux-2.4.0-test7-pre5/net/ipv4/netfilter/ipt_MIRROR.c Fri Jul 7 01:20:00 2000
+++ linux-2.4.0-test7-pre5.acme/net/ipv4/netfilter/ipt_MIRROR.c Sun Aug 20 19:24:10 2000
@@ -89,7 +89,7 @@
dst->neighbour->output(skb);
else {
printk(KERN_DEBUG "khm in MIRROR\n");
- kfree(skb);
+ kfree_skb(skb);
}
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 12:37    [W:0.053 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site