aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2006-07-24 18:31:14 -0400
committerDavid S. Miller <davem@davemloft.net>2006-07-24 18:31:14 -0400
commitb4e54de8d34afe7fcf08bfe91070d9dfeae6ed27 (patch)
tree46b2088d28b1dc75df5ab8a8d277c243543fcb38 /include/linux
parent37182d1bd3264cf9c0dce3408bee48af0755de7e (diff)
[NET]: Correct dev_alloc_skb kerneldoc
dev_alloc_skb is designated for RX descriptors, not TX. (Some drivers use it for the latter anyway, but that's a different story) Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/skbuff.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index f98757976647..4307e764ef0a 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -1067,7 +1067,7 @@ static inline void __skb_queue_purge(struct sk_buff_head *list)
1067} 1067}
1068 1068
1069/** 1069/**
1070 * __dev_alloc_skb - allocate an skbuff for sending 1070 * __dev_alloc_skb - allocate an skbuff for receiving
1071 * @length: length to allocate 1071 * @length: length to allocate
1072 * @gfp_mask: get_free_pages mask, passed to alloc_skb 1072 * @gfp_mask: get_free_pages mask, passed to alloc_skb
1073 * 1073 *
@@ -1088,7 +1088,7 @@ static inline struct sk_buff *__dev_alloc_skb(unsigned int length,
1088} 1088}
1089 1089
1090/** 1090/**
1091 * dev_alloc_skb - allocate an skbuff for sending 1091 * dev_alloc_skb - allocate an skbuff for receiving
1092 * @length: length to allocate 1092 * @length: length to allocate
1093 * 1093 *
1094 * Allocate a new &sk_buff and assign it a usage count of one. The 1094 * Allocate a new &sk_buff and assign it a usage count of one. The