Messages in this thread | | | Date | Mon, 21 Jul 2008 16:04:04 +0200 | From | Patrick McHardy <> | 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.
| |