Skip to content
Commit 33758c89 authored by Vasily Averin's avatar Vasily Averin Committed by Pablo Neira Ayuso
Browse files

memcg: enable accounting for nft objects



nftables replaces iptables, but it lacks memcg accounting.

This patch account most of the memory allocation associated with nft
and should protect the host from misusing nft inside a memcg restricted
container.

Signed-off-by: default avatarVasily Averin <vvs@openvz.org>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent f2dd495a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment