Commit af0acf2
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: 33758c8 ("memcg: enable accounting for nft objects")
Signed-off-by: Chen Aotian <chenaotian2@163.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>1 parent 94623f5 commit af0acf2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7052 | 7052 | | |
7053 | 7053 | | |
7054 | 7054 | | |
7055 | | - | |
| 7055 | + | |
7056 | 7056 | | |
7057 | 7057 | | |
7058 | 7058 | | |
| |||
0 commit comments