kfree_skb query

From: Bill Leckey (bleckey@tpg.com.au)
Date: Tue Nov 05 2002 - 10:25:33 EST


I'm writing a driver that provides an ethernet like interface to a WAN
link. The device DMA's the data from me, then tells me when it's
finished. At that point I free the skb. However I get the following
warning

kernel: Warning: kfree_skb on hard IRQ d092c301

What is bad about calling kfree_skb from within a hard IRQ? I'm afraid
looking at the code that spat out the error message didn't help me, and
since it's only a warning I'm assuming it's not fatal, but shouldn't be
done for some reason.

Thanks.

Bill

-- 
Bill Leckey - Senior Software Design Engineer
TPG Research and Development
Ph: +61 2 62851711
Fax: +61 2 62853939

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:41 EST