diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2008-03-28 18:57:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-28 18:57:39 -0400 |
commit | 1483b8744e1a189b2018e2a1bd82f343d6bb52d2 (patch) | |
tree | 87c8836dbef511366270c8008d5a5e77d03ef7f4 | |
parent | 1567ca7eec7664b8be3b07755ac59dc1b1ec76cb (diff) |
[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>
-rw-r--r-- | net/core/skbuff.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 86e5682728be..6ef7008a3ef3 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
@@ -277,6 +277,10 @@ struct sk_buff *__netdev_alloc_skb(struct net_device *dev, | |||
277 | */ | 277 | */ |
278 | struct sk_buff *dev_alloc_skb(unsigned int length) | 278 | struct sk_buff *dev_alloc_skb(unsigned int length) |
279 | { | 279 | { |
280 | /* | ||
281 | * There is more code here than it seems: | ||
282 | * __def_alloc_skb is an inline | ||
283 | */ | ||
280 | return __dev_alloc_skb(length, GFP_ATOMIC); | 284 | return __dev_alloc_skb(length, GFP_ATOMIC); |
281 | } | 285 | } |
282 | EXPORT_SYMBOL(dev_alloc_skb); | 286 | EXPORT_SYMBOL(dev_alloc_skb); |