Commit 766ea8cc authored by Christoph Hellwig's avatar Christoph Hellwig Committed by David S. Miller

[NET]: Fix alloc_skb comment typo

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9f737633
...@@ -1081,7 +1081,7 @@ static inline void __skb_queue_purge(struct sk_buff_head *list) ...@@ -1081,7 +1081,7 @@ static inline void __skb_queue_purge(struct sk_buff_head *list)
* the headroom they think they need without accounting for the * the headroom they think they need without accounting for the
* built in space. The built in space is used for optimisations. * built in space. The built in space is used for optimisations.
* *
* %NULL is returned in there is no free memory. * %NULL is returned if there is no free memory.
*/ */
static inline struct sk_buff *__dev_alloc_skb(unsigned int length, static inline struct sk_buff *__dev_alloc_skb(unsigned int length,
gfp_t gfp_mask) gfp_t gfp_mask)
...@@ -1101,7 +1101,7 @@ static inline struct sk_buff *__dev_alloc_skb(unsigned int length, ...@@ -1101,7 +1101,7 @@ static inline struct sk_buff *__dev_alloc_skb(unsigned int length,
* the headroom they think they need without accounting for the * the headroom they think they need without accounting for the
* built in space. The built in space is used for optimisations. * built in space. The built in space is used for optimisations.
* *
* %NULL is returned in there is no free memory. Although this function * %NULL is returned if there is no free memory. Although this function
* allocates memory it can be called from an interrupt. * allocates memory it can be called from an interrupt.
*/ */
static inline struct sk_buff *dev_alloc_skb(unsigned int length) static inline struct sk_buff *dev_alloc_skb(unsigned int length)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment