Re: [PATCH 1/2] Traffic control cgroups subsystem

From: Patrick McHardy
Date: Mon Jul 21 2008 - 10:04:23 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/