summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2018-09-04 13:07:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-20 10:16:00 +0300
commit1f2b1c6ab3532e47718ca51b6201912634ed5786 (patch)
treecb2f137ef7bb5a584935b92cf200309b8083477c /drivers
parent14b183214c08ba2dcd4fee8017879a1ad6f8f0e6 (diff)
downloadlinux-1f2b1c6ab3532e47718ca51b6201912634ed5786.tar.xz
netfilter: xt_cgroup: shrink size of v2 path
[ Upstream commit 0d704967f4a49cc2212350b3e4a8231f8b4283ed ] cgroup v2 path field is PATH_MAX which is too large, this is placing too much pressure on memory allocation for people with many rules doing cgroup v1 classid matching, side effects of this are bug reports like: https://bugzilla.kernel.org/show_bug.cgi?id=200639 This patch registers a new revision that shrinks the cgroup path to 512 bytes, which is the same approach we follow in similar extensions that have a path field. Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions