[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180402.000253.1520793908311299528.davem@davemloft.net>
Date: Mon, 02 Apr 2018 00:02:53 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: lirongqing@...du.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: ip tos cgroup
From: Li RongQing <lirongqing@...du.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 <jimyan@...du.com>
> Signed-off-by: Li RongQing <lirongqing@...du.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.
Powered by blists - more mailing lists