Skip to content

Commit

Permalink
net: Comment dev_kfree_skb_irq and dev_kfree_skb_any better
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matti Linnanvuori authored and David S. Miller committed Mar 28, 2008
1 parent a5a0481 commit 0ef4730
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 0ef4730

Please sign in to comment.