[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <48849754.7000807@trash.net>
Date: Mon, 21 Jul 2008 16:04:04 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Ranjit Manomohan <ranjitm@...gle.com>
CC: linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
menage@...gle.com
Subject: Re: [PATCH 1/2] Traffic control cgroups subsystem
Ranjit Manomohan wrote:
> This patch adds a traffic control cgroup subsystem that is used
> to tag all packets originating from tasks in this cgroup with a
> specific identifier (tc_classid).
>
> +#ifdef CONFIG_CGROUP_TC
> + skb->cgroup_classid = sk->sk_cgroup_classid;
> +#endif
Please wrap this in an inline function so you don't have to
put the #ifdefs everywhere.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists