net: Comment dev_kfree_skb_irq and dev_kfree_skb_any better
Subsystems (2)
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.
Signed-off-by Matti Linnanvuori <[email protected]>
---
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
From: Matti Linnanvuori <[email protected]>
Date: Fri, 28 Mar 2008 08:13:36 -0700 (PDT)
Quoted 3 lines
Comment
dev_kfree_skb_irqanddev_kfree_skb_anybetter.Signed-off-by Matti Linnanvuori <[email protected]>
Applied, thanks.