From: Li RongQing <lirongq...@baidu.com> Date: Mon, 2 Apr 2018 11:51:48 +0800
> ip tos segment can be changed by setsockopt(IP_TOS), or by iptables; > this patch creates a new method to change socket tos segment of > processes based on cgroup > > The usage: > > 1. mount tos_cgroup, and setting tos value > mount -t cgroup -o ip_tos ip_tos /cgroups/tos > echo tos-value >/cgroups/tos/ip_tos.tos > 2. then move processes to cgroup, or create processes in cgroup > > Signed-off-by: jimyan <jim...@baidu.com> > Signed-off-by: Li RongQing <lirongq...@baidu.com> The merge window has openned and therefore the net-next tree is closed, please only submit new features when the net-next tree is open. Thank you.