[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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 _at_ vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」