[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50517EB3.6000502@huawei.com>
Date: Thu, 13 Sep 2012 14:35:31 +0800
From: Li Zefan <lizefan@...wei.com>
To: Daniel Wagner <wagi@...om.org>
CC: <netdev@...r.kernel.org>, <cgroups@...r.kernel.org>,
Daniel Wagner <daniel.wagner@...-carit.de>,
Gao feng <gaofeng@...fujitsu.com>,
Jamal Hadi Salim <jhs@...atatu.com>,
John Fastabend <john.r.fastabend@...el.com>,
Neil Horman <nhorman@...driver.com>
Subject: Re: [PATCH v4 2/8] cgroup: net_cls: Do not define task_cls_classid()
when not selected
On 2012/9/12 22:12, Daniel Wagner wrote:
> From: Daniel Wagner <daniel.wagner@...-carit.de>
>
> task_cls_classid() should not be defined in case the configuration is
> CONFIG_NET_CLS_CGROUP=n. The reason is that in a following patch the
> net_cls_subsys_id will only be defined if CONFIG_NET_CLS_CGROUP!=n.
> When net_cls is not built at all a callee should only get an empty
> task_cls_classid() without any references to net_cls_subsys_id.
>
> Signed-off-by: Daniel Wagner <daniel.wagner@...-carit.de>
> Acked-by: Tejun Heo <tj@...nel.org>
> Cc: Gao feng <gaofeng@...fujitsu.com>
> Cc: Jamal Hadi Salim <jhs@...atatu.com>
> Cc: John Fastabend <john.r.fastabend@...el.com>
> Cc: Li Zefan <lizefan@...wei.com>
> Cc: Neil Horman <nhorman@...driver.com>
> Cc: netdev@...r.kernel.org
> Cc: cgroups@...r.kernel.org
Acked-by: Li Zefan <lizefan@...wei.com>
> ---
> include/net/cls_cgroup.h | 11 ++++++-----
> net/core/sock.c | 2 ++
> 2 files changed, 8 insertions(+), 5 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists