From: Christoph Hellwig Date: Mon, 24 Jul 2006 22:31:14 +0000 (-0700) Subject: [NET]: Correct dev_alloc_skb kerneldoc X-Git-Tag: upstream/snapshot3+hdmi~38755 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4e54de8d34afe7fcf08bfe91070d9dfeae6ed27;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [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 Signed-off-by: David S. Miller --- diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index f987579..4307e76 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) } /** - * __dev_alloc_skb - allocate an skbuff for sending + * __dev_alloc_skb - allocate an skbuff for receiving * @length: length to allocate * @gfp_mask: get_free_pages mask, passed to alloc_skb * @@ -1088,7 +1088,7 @@ static inline struct sk_buff *__dev_alloc_skb(unsigned int length, } /** - * dev_alloc_skb - allocate an skbuff for sending + * dev_alloc_skb - allocate an skbuff for receiving * @length: length to allocate * * Allocate a new &sk_buff and assign it a usage count of one. The