Hi Li,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on net/master]
[also build test ERROR on v4.17-rc2 next-20180424]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/commits
From: "Li,Rongqing"
Date: Thu, 19 Apr 2018 04:56:09 +
> I think this method is easier to use than BPF, and more efficient
Ease of use is arguable, but for anything bpf this is going to
steadily improve over time therefore it is not much of an argument
against using bpf.
And I disagree on th
> -邮件原件-
> 发件人: Daniel Borkmann [mailto:dan...@iogearbox.net]
> 发送时间: 2018年4月17日 22:11
> 收件人: Li,Rongqing
> 抄送: netdev@vger.kernel.org; t...@kernel.org; a...@fb.com;
> bra...@fb.com
> 主题: Re: [PATCH][net-next] net: ip tos cgroup
>
> On 04/17/2018 05:36 AM, Li
On 04/17/2018 05:36 AM, Li RongQing wrote:
> 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 ip_tos cgroup, and setting tos value
> mount -t cgrou
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 ip_tos cgroup, and setting tos value
mount -t cgroup -o ip_tos ip_tos /cgroups/tos
echo tos_value >/cgroup