Re: [netfilter-core] [PATCH] netfilter: nf_tables: Modify nla_memdup's flag to GFP_KERNEL_ACCOUNT
From: Pablo Neira Ayuso
Date: Thu Apr 06 2023 - 05:23:18 EST
On Thu, Apr 06, 2023 at 11:21:50AM +0200, Pablo Neira Ayuso wrote:
> On Thu, Apr 06, 2023 at 12:01:51PM +0800, Chen Aotian wrote:
> > For memory alloc that store user data from nla[NFTA_OBJ_USERDATA],
> > use GFP_KERNEL_ACCOUNT is more suitable.
> >
>
> Fixes: 33758c891479 ("memcg: enable accounting for nft objects")
>
> > Signed-off-by: Chen Aotian <chenaotian2@xxxxxxx>
BTW, this patch is intended for nf.git, I'll apply it now.