Skip to contentSkip to conversation

dev_kfree_skb{,irq,any}

DISCUSSION Carl-Daniel Hailfinger 1 participant 1 message Apr 30, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

what are the possible implications of calling dev_kfree_skb_irq from non-interrupt context or calling dev_kfree_skb from interrupt context?

Looking at drivers/net, it seems dev_kfree_skb_irq is often called outside an interrupt handler.

IIRC, dev_kfree_skb_any is the way to go if a certain routine can be called both from interrupt context and outside it.

Regards,
Carl-Daniel

Signature · 1 line
http://www.hailfinger.org/