Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94b6042c authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

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: default avatarBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0bb79565
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -160,8 +160,8 @@ static void skb_under_panic(struct sk_buff *skb, int sz, void *here)
 *	@node: numa node to allocate memory on
 *	@node: numa node to allocate memory on
 *
 *
 *	Allocate a new &sk_buff. The returned buffer has no headroom and a
 *	Allocate a new &sk_buff. The returned buffer has no headroom and a
 *	tail room of size bytes. The object has a reference count of one.
 *	tail room of at least size bytes. The object has a reference count
 *	The return is the buffer. On a failure the return is %NULL.
 *	of one. The return is the buffer. On a failure the return is %NULL.
 *
 *
 *	Buffers may only be allocated from interrupts using a @gfp_mask of
 *	Buffers may only be allocated from interrupts using a @gfp_mask of
 *	%GFP_ATOMIC.
 *	%GFP_ATOMIC.