Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751205AbWCZOFh (ORCPT ); Sun, 26 Mar 2006 09:05:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751197AbWCZOFh (ORCPT ); Sun, 26 Mar 2006 09:05:37 -0500 Received: from mx02.cybersurf.com ([209.197.145.105]:47777 "EHLO mx02.cybersurf.com") by vger.kernel.org with ESMTP id S1751177AbWCZOFg (ORCPT ); Sun, 26 Mar 2006 09:05:36 -0500 Subject: Re: [RFC][UPDATED PATCH 2.6.16] [Patch 9/9] Generic netlink interface for delay accounting From: jamal Reply-To: hadi@cyberus.ca To: balbir@in.ibm.com Cc: Matt Helsley , Shailabh Nagar , linux-kernel , netdev In-Reply-To: <661de9470603251022w7f8991e9g73d70a65f5d475ea@mail.gmail.com> References: <1142303607.24621.63.camel@stark> <1143122686.5186.27.camel@jzny2> <20060323154106.GA13159@in.ibm.com> <1143209061.5076.14.camel@jzny2> <20060324145459.GA7495@in.ibm.com> <1143249565.5184.6.camel@jzny2> <20060325094126.GA9376@in.ibm.com> <1143291133.5184.32.camel@jzny2> <20060325153632.GA25431@in.ibm.com> <1143308901.5184.48.camel@jzny2> <661de9470603251022w7f8991e9g73d70a65f5d475ea@mail.gmail.com> Content-Type: text/plain Organization: unknown Date: Sun, 26 Mar 2006 09:05:18 -0500 Message-Id: <1143381918.5184.52.camel@jzny2> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1052 Lines: 36 On Sat, 2006-25-03 at 23:52 +0530, Balbir Singh wrote: > No, we cannot have both passed. If we pass both a PID and a TGID and > then the code returns just the stats for the PID. > ok, that clears it then; i think you are ready to go. > > > > Also in regards to the nesting, isnt there a need for nla_nest_cancel in > > case of failures to add TLVs? > > > > I thought about it, but when I looked at the code of genlmsg_cancel() > and nla_nest_cancel(). It seemed that genlmsg_cancel() should > suffice. > If your policy is to never send a message if anything fails, then you are fine. What would be really useful now that you understand this, is if you can help extending/cleaning the document i sent you. Or send me a table of contents of how it would have flowed better for you. cheers, jamal - 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/