projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1567ca7
)
[NET]: Add inline intent commentary to dev_alloc_skb().
author
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 28 Mar 2008 22:57:39 +0000
(15:57 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 28 Mar 2008 22:57:39 +0000
(15:57 -0700)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/skbuff.c
b/net/core/skbuff.c
index 86e5682728be339c3930eca391739ba373d908fc..6ef7008a3ef363edc6df47387ce92910d04f56d5 100644
(file)
--- a/
net/core/skbuff.c
+++ b/
net/core/skbuff.c
@@
-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);