Skip to contentSkip to conversation

net: Comment dev_kfree_skb_irq and dev_kfree_skb_any better

PATCH Applied Matti Linnanvuori 2 participants 2 messages Mar 28, 2008

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

PATCH 1/1 net: Comment dev_kfree_skb_irq and dev_kfree_skb_any better

From: Matti Linnanvuori <[email protected]>

Comment dev_kfree_skb_irq and dev_kfree_skb_any better.

---

include/linux/netdevice.h 2008-03-28 17:08:33.568098500 +0200 renamed from include/linux/netdevice.h 2008-03-23 09:06:05.264803500 +0200 +4 -2
@@ -1072,12 +1072,14 @@ static inline int netif_is_multiqueue(co
 }
 
 /* Use this variant when it is known for sure that it
- * is executing from interrupt context.
+ * is executing from hardware interrupt context or with hardware interrupts
+ * disabled.
  */
 extern void dev_kfree_skb_irq(struct sk_buff *skb);
 
 /* Use this variant in places where it could be invoked
- * either from interrupt or non-interrupt context.
+ * from either hardware interrupt or other context, with hardware interrupts
+ * either disabled or enabled.
  */
 extern void dev_kfree_skb_any(struct sk_buff *skb);
 
      ____________________________________________________________________________________

Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ