diff options
author | Florian Westphal <fw@strlen.de> | 2024-02-15 09:29:30 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2024-02-21 12:03:17 +0100 |
commit | 5b651783d80b97167ecd27dc6a4408c694873902 (patch) | |
tree | b23c7ffb3f59fa968d821f7e0387f1b6301b1907 /net/netfilter/utils.c | |
parent | 9f439bd6ef4f60c8a37bd9138fa9ed9b5e7ae0d7 (diff) | |
download | linux-stable-5b651783d80b97167ecd27dc6a4408c694873902.tar.gz linux-stable-5b651783d80b97167ecd27dc6a4408c694873902.tar.bz2 linux-stable-5b651783d80b97167ecd27dc6a4408c694873902.zip |
netfilter: nft_set_pipapo: use GFP_KERNEL for insertions
An earlier attempt changed this to GFP_KERNEL, but the get helper is
also called for get requests from userspace, which uses rcu.
Let the caller pass in the kmalloc flags to allow insertions
to schedule if needed.
Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'net/netfilter/utils.c')
0 files changed, 0 insertions, 0 deletions