Added netdev because they're really the experts. On Fri, Aug 25, 2023 at 09:52:10AM +0800, Jinjie Ruan wrote: > It is not allowed to call kfree_skb() from hardware interrupt > context or with interrupts being disabled. There are no comments which say that this is not allowed. I have reviewed the code to see why it's not allowed. The only thing I can see is that maybe the skb->destructor(skb); in skb_release_head_state() sleeps? Or possibly the uarg->callback() in skb_zcopy_clear()? Can you comment more on why this isn't allowed? Was this detected at runtime? Do you have a stack trace? Once I know more I can add this to Smatch so that it is detected automatically using static analysis. regards, dan carpenter