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.