From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Wagner Subject: Re: [PATCH v0 4/4] cgroup: net_cls: Rework update socket logic Date: Wed, 17 Oct 2012 17:56:05 +0200 Message-ID: <507ED515.4050603@monom.org> References: <1350479078-29361-1-git-send-email-wagi@monom.org> <1350479078-29361-5-git-send-email-wagi@monom.org> <507EBA59.9080307@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Daniel Wagner , Li Zefan , "David S. Miller" , "Michael S. Tsirkin" , Jamal Hadi Salim , Joe Perches , Neil Horman , Stanislav Kinsbursky , Tejun Heo To: John Fastabend Return-path: In-Reply-To: <507EBA59.9080307-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org On 17.10.2012 16:02, John Fastabend wrote: > On 10/17/2012 6:04 AM, Daniel Wagner wrote: >> From: Daniel Wagner >> >> The cgroup logic part of net_cls is very similar as the one in >> net_prio. Let's stream line the net_cls logic with the net_prio one. [...] > This block should probably use iterate_fd() instead of open coding > this. See the latest net_prio_attach(). Thanks for the heads up. Will update the patch accordingly.