Re: [PATCH v2 2/8] memcg: accounting for ip6_dst_cache
From: David Ahern <hidden>
Date: 2021-03-15 15:27:17
Also in:
linux-mm
From: David Ahern <hidden>
Date: 2021-03-15 15:27:17
Also in:
linux-mm
On 3/15/21 6:23 AM, Vasily Averin wrote:
An untrusted netadmin inside a memcg-limited container can create a huge number of routing entries. Currently, allocated kernel objects are not accounted to proper memcg, so this can lead to global memory shortage on the host and cause lot of OOM kiils. This patches enables accounting for 'struct rt6_info' allocations. --- net/ipv6/route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: David Ahern <redacted>