

Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/net/core/skbuff.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff -puN net/core/skbuff.c~kfree_skb-dump_stack net/core/skbuff.c
--- 25/net/core/skbuff.c~kfree_skb-dump_stack	Wed Sep 22 17:43:11 2004
+++ 25-akpm/net/core/skbuff.c	Wed Sep 22 17:43:24 2004
@@ -233,9 +233,11 @@ void __kfree_skb(struct sk_buff *skb)
 	secpath_put(skb->sp);
 #endif
 	if(skb->destructor) {
-		if (in_irq())
+		if (in_irq()) {
 			printk(KERN_WARNING "Warning: kfree_skb on "
 					    "hard IRQ %p\n", NET_CALLER(skb));
+			dump_stack();
+		}
 		skb->destructor(skb);
 	}
 #ifdef CONFIG_NETFILTER
_
