aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatti Linnanvuori <mattilinnanvuori@yahoo.com>2008-03-28 19:33:00 -0400
committerDavid S. Miller <davem@davemloft.net>2008-03-28 19:33:00 -0400
commit0ef4730927c54cac5006759fa0cf50fbeff9d191 (patch)
treea52e975ce5060f0d25a5fb1db44cc08105469616
parenta5a04819c5740cb1aa217af2cc8f5ef26f33d744 (diff)
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>
-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 fae6a7ececdb..ee81906b5164 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)
1074} 1074}
1075 1075
1076/* Use this variant when it is known for sure that it 1076/* Use this variant when it is known for sure that it
1077 * is executing from interrupt context. 1077 * is executing from hardware interrupt context or with hardware interrupts
1078 * disabled.
1078 */ 1079 */
1079extern void dev_kfree_skb_irq(struct sk_buff *skb); 1080extern void dev_kfree_skb_irq(struct sk_buff *skb);
1080 1081
1081/* Use this variant in places where it could be invoked 1082/* Use this variant in places where it could be invoked
1082 * either from interrupt or non-interrupt context. 1083 * from either hardware interrupt or other context, with hardware interrupts
1084 * either disabled or enabled.
1083 */ 1085 */
1084extern void dev_kfree_skb_any(struct sk_buff *skb); 1086extern void dev_kfree_skb_any(struct sk_buff *skb);
1085 1087