Skip to content
Commit 1c4dbb00 authored by Chen Aotian's avatar Chen Aotian Committed by Greg Kroah-Hartman
Browse files

netfilter: nf_tables: Modify nla_memdup's flag to GFP_KERNEL_ACCOUNT



[ Upstream commit af0acf22 ]

For memory alloc that store user data from nla[NFTA_OBJ_USERDATA],
use GFP_KERNEL_ACCOUNT is more suitable.

Fixes: 33758c89 ("memcg: enable accounting for nft objects")
Signed-off-by: default avatarChen Aotian <chenaotian2@163.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ea854a25
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment