net: introduce __skb_fill_page_desc_noacc
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 12 Jul 2022 20:52:32 +0000 (21:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2022 09:30:05 +0000 (11:30 +0200)
commitcd5f1a69d0b603bd673994c8a0676f9d3aa0f2b1
tree236605737d3be7fe11b6524b551d541c7e5aedf5
parent7eb9bf4edd1c7d65fe59e4d4a27b33ba8dd00098
net: introduce __skb_fill_page_desc_noacc

[ Upstream commit 84ce071e38a6e25ea3ea91188e5482ac1f17b3af ]

Managed pages contain pinned userspace pages and controlled by upper
layers, there is no need in tracking skb->pfmemalloc for them. Introduce
a helper for filling frags but ignoring page tracking, it'll be needed
later.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/skbuff.h