diff options
author | Chen Aotian <chenaotian2@163.com> | 2023-04-06 12:01:51 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-04-06 11:33:52 +0200 |
commit | af0acf22aea359e04412237d68787401f96bb583 (patch) | |
tree | aab5028965c49ac73387f467d15f9f6b4b94b1bd /net/strparser | |
parent | 94623f579ce338b5fa61b5acaa5beb8aa657fb9e (diff) | |
download | linux-stable-af0acf22aea359e04412237d68787401f96bb583.tar.gz linux-stable-af0acf22aea359e04412237d68787401f96bb583.tar.bz2 linux-stable-af0acf22aea359e04412237d68787401f96bb583.zip |
netfilter: nf_tables: Modify nla_memdup's flag to GFP_KERNEL_ACCOUNT
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>
Diffstat (limited to 'net/strparser')
0 files changed, 0 insertions, 0 deletions