summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2025-11-30 23:35:17 +0000
committerJakub Kicinski <kuba@kernel.org>2025-12-02 11:08:39 -0800
commit9954464d737dd12f12b274d3da46397e3656f079 (patch)
tree898a62191c4a4b331a81baa19fc4ca991ce9714e /scripts/lib/kdoc/kdoc_parser.py
parent854858848bc7ac6ea3bf896ef1b541cb9d4bca20 (diff)
net: page_pool: sanitise allocation order
We're going to give more control over rx buffer sizes to user space, and since we can't always rely on driver validation, let's sanitise it in page_pool_init() as well. Note that we only need to reject over MAX_PAGE_ORDER allocations for normal page pools, as current memory providers don't need to use the buddy allocator and must check the order on init.i Suggested-by: Stanislav Fomichev <stfomichev@gmail.com> Reviewed-by: Mina Almasry <almasrymina@google.com> Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://patch.msgid.link/77ad83c1aec66cbd00e7b3952f74bc3b7a988150.1764542851.git.asml.silence@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions