diff options
| author | Vasily Averin <[email protected]> | 2021-07-19 10:44:50 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-07-20 13:00:38 +0000 |
| commit | 1b51d8271973e4966078f0c1a5cb061ae9a424d2 (patch) | |
| tree | 151115de1857830b843f432a4511ddef9dfd58f7 /net/core/scm.c | |
| parent | memcg: enable accounting for VLAN group array (diff) | |
| download | kernel-1b51d8271973e4966078f0c1a5cb061ae9a424d2.tar.gz kernel-1b51d8271973e4966078f0c1a5cb061ae9a424d2.zip | |
memcg: ipv6/sit: account and don't WARN on ip_tunnel_prl structs allocation
Author: Andrey Ryabinin <[email protected]>
The size of the ip_tunnel_prl structs allocation is controllable from
user-space, thus it's better to avoid spam in dmesg if allocation failed.
Also add __GFP_ACCOUNT as this is a good candidate for per-memcg
accounting. Allocation is temporary and limited by 4GB.
Signed-off-by: Andrey Ryabinin <[email protected]>
Signed-off-by: Vasily Averin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/scm.c')
0 files changed, 0 insertions, 0 deletions
