Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754832AbYGUOEV (ORCPT ); Mon, 21 Jul 2008 10:04:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752626AbYGUOEI (ORCPT ); Mon, 21 Jul 2008 10:04:08 -0400 Received: from stinky.trash.net ([213.144.137.162]:38320 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751860AbYGUOEH (ORCPT ); Mon, 21 Jul 2008 10:04:07 -0400 Message-ID: <48849754.7000807@trash.net> Date: Mon, 21 Jul 2008 16:04:04 +0200 From: Patrick McHardy User-Agent: Mozilla-Thunderbird 2.0.0.12 (X11/20080405) MIME-Version: 1.0 To: Ranjit Manomohan CC: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, menage@google.com Subject: Re: [PATCH 1/2] Traffic control cgroups subsystem References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 618 Lines: 16 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/