summaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorMatti Linnanvuori <mattilinnanvuori@yahoo.com>2008-03-28 16:33:00 -0700
committerDavid S. Miller <davem@davemloft.net>2008-03-28 16:33:00 -0700
commit0ef4730927c54cac5006759fa0cf50fbeff9d191 (patch)
treea52e975ce5060f0d25a5fb1db44cc08105469616 /include/linux/netdevice.h
parenta5a04819c5740cb1aa217af2cc8f5ef26f33d744 (diff)
downloadop-kernel-dev-0ef4730927c54cac5006759fa0cf50fbeff9d191.zip
op-kernel-dev-0ef4730927c54cac5006759fa0cf50fbeff9d191.tar.gz
net: Comment dev_kfree_skb_irq and dev_kfree_skb_any better
Comment dev_kfree_skb_irq and dev_kfree_skb_any better. Signed-off-by: Matti Linnanvuori <mattilinnanvuori@yahoo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index fae6a7e..ee81906 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1074,12 +1074,14 @@ static inline int netif_is_multiqueue(const struct net_device *dev)
}
/* 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);
OpenPOWER on IntegriCloud