projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d483fa
)
netfilter: nft_set_pipapo: prefer gfp_kernel allocation
author
Florian Westphal
<fw@strlen.de>
Mon, 20 Nov 2023 16:01:45 +0000
(17:01 +0100)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Fri, 22 Dec 2023 11:08:38 +0000
(12:08 +0100)
No need to use GFP_ATOMIC here.
Fixes: f6c383b8c31a ("netfilter: nf_tables: adapt set backend to use GC transaction API")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_set_pipapo.c
patch
|
blob
|
history
diff --git
a/net/netfilter/nft_set_pipapo.c
b/net/netfilter/nft_set_pipapo.c
index 7252fcdae34993835d10d143c02755958ad9a7e2..efd523496be45f59408e8b6dcec7ff40dbcf5844 100644
(file)
--- a/
net/netfilter/nft_set_pipapo.c
+++ b/
net/netfilter/nft_set_pipapo.c
@@
-1597,7
+1597,7
@@
static void pipapo_gc(struct nft_set *set, struct nft_pipapo_match *m)
if (nft_set_elem_expired(&e->ext)) {
priv->dirty = true;
- gc = nft_trans_gc_queue_sync(gc, GFP_
ATOMIC
);
+ gc = nft_trans_gc_queue_sync(gc, GFP_
KERNEL
);
if (!gc)
return;