]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: add a new @alloc parameter to napi_skb_cache_get()
authorEric Dumazet <edumazet@google.com>
Sun, 16 Nov 2025 20:27:15 +0000 (20:27 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 19 Nov 2025 02:25:47 +0000 (18:25 -0800)
commitdac0236075684b9edfd71492e79a9122f3ef45cc
tree652d39654ccd86161a37edfbf7ba30daf6c743cf
parenteb74ae2f87d254e54ab15429e845c2c46f8e970f
net: add a new @alloc parameter to napi_skb_cache_get()

We want to be able in the series last patch to get an skb from
napi_skb_cache from process context, if there is one available.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jason Xing <kerneljasonxing@gmail.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20251116202717.1542829-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/skbuff.c