提交 1483b874 编写于 作者: D Denys Vlasenko 提交者: David S. Miller

[NET]: Add inline intent commentary to dev_alloc_skb().

Signed-off-by: NDenys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 1567ca7e
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册