From 50f48ad37aad99c54de4db34b07c3825cdedcf41 Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Wed, 10 Feb 2016 15:44:01 +0100 Subject: cgroup: remove support for NetClass= directive Support for net_cls.class_id through the NetClass= configuration directive has been added in v227 in preparation for a per-unit packet filter mechanism. However, it turns out the kernel people have decided to deprecate the net_cls and net_prio controllers in v2. Tejun provides a comprehensive justification for this in his commit, which has landed during the merge window for kernel v4.5: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=bd1060a1d671 As we're aiming for full support for the v2 cgroup hierarchy, we can no longer support this feature. Userspace tool such as nftables are moving over to setting rules that are specific to the full cgroup path of a task, which obsoletes these controllers anyway. This commit removes support for tweaking details in the net_cls controller, but keeps the NetClass= directive around for legacy compatibility reasons. --- man/systemd.resource-control.xml | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'man') diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index b6b38fde58..08cdf06e23 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -423,23 +423,6 @@ - - NetClass= - Configures a network class number to assign to the - unit. This value will be set to the - net_cls.class_id property of the - net_cls cgroup of the unit. The directive - accepts a numerical value (for fixed number assignment) and the keyword - auto (for dynamic allocation). Network traffic of - all processes inside the unit will have the network class ID assigned - by the kernel. Also see - the kernel docs for - net_cls controller - and - systemd.resource-control5. - - - Slice= -- cgit v1.2.3-54-g00ecf