netfilter: nft_set_pipapo: prefer gfp_kernel allocation
Subsystems (2)
Florian Westphal
maintainerPATCH 1/1 netfilter: nft_set_pipapo: prefer gfp_kernel allocation
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 <[email protected]>
--- net/netfilter/nft_set_pipapo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/netfilter/nft_set_pipapo.c +1 -1
@@ -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 ;
Signature · 1 line
2.41.0