diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-06-06 11:23:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-07 16:18:54 -0400 |
commit | 94b6042cfed02229b05e04002ab00085b60f8213 (patch) | |
tree | 40d4be159d944dc487fd41c8597eb3ee5580da00 /net/core/skbuff.c | |
parent | 0bb79565aaa4d917a14c87deae8b98a61833307a (diff) |
net: Update kernel-doc for __alloc_skb()
__alloc_skb() now extends tailroom to allow the use of padding added
by the heap allocator.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/skbuff.c')
-rw-r--r-- | net/core/skbuff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 016694d62484..1d74cea22aaa 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
@@ -160,8 +160,8 @@ static void skb_under_panic(struct sk_buff *skb, int sz, void *here) | |||
160 | * @node: numa node to allocate memory on | 160 | * @node: numa node to allocate memory on |
161 | * | 161 | * |
162 | * Allocate a new &sk_buff. The returned buffer has no headroom and a | 162 | * Allocate a new &sk_buff. The returned buffer has no headroom and a |
163 | * tail room of size bytes. The object has a reference count of one. | 163 | * tail room of at least size bytes. The object has a reference count |
164 | * The return is the buffer. On a failure the return is %NULL. | 164 | * of one. The return is the buffer. On a failure the return is %NULL. |
165 | * | 165 | * |
166 | * Buffers may only be allocated from interrupts using a @gfp_mask of | 166 | * Buffers may only be allocated from interrupts using a @gfp_mask of |
167 | * %GFP_ATOMIC. | 167 | * %GFP_ATOMIC. |