diff options
author | Chen Aotian <chenaotian2@163.com> | 2023-04-06 07:01:51 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-04-26 15:28:32 +0300 |
commit | 1c4dbb001fd38828f564584f0c0eca5b39b0ee3c (patch) | |
tree | 58346abb843036c79623e9539a10552ce2cc489d /rust | |
parent | ea854a25c8327f51f7ff529b745794a985185563 (diff) | |
download | linux-1c4dbb001fd38828f564584f0c0eca5b39b0ee3c.tar.xz |
netfilter: nf_tables: Modify nla_memdup's flag to GFP_KERNEL_ACCOUNT
[ Upstream commit af0acf22aea359e04412237d68787401f96bb583 ]
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@163.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions