mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[NET]: Add inline intent commentary to dev_alloc_skb().
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1567ca7eec
commit
1483b8744e
1 changed files with 4 additions and 0 deletions
|
@ -277,6 +277,10 @@ struct sk_buff *__netdev_alloc_skb(struct net_device *dev,
|
|||
*/
|
||||
struct sk_buff *dev_alloc_skb(unsigned int length)
|
||||
{
|
||||
/*
|
||||
* There is more code here than it seems:
|
||||
* __def_alloc_skb is an inline
|
||||
*/
|
||||
return __dev_alloc_skb(length, GFP_ATOMIC);
|
||||
}
|
||||
EXPORT_SYMBOL(dev_alloc_skb);
|
||||
|
|
Loading…
Reference in a new issue