Received: with ECARTIS (v1.0.0; list netdev); Wed, 23 Mar 2005 05:40:45 -0800 (PST) Received: from linux01.gwdg.de (root@linux01.gwdg.de [134.76.13.21]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j2NDeeM0008829 for ; Wed, 23 Mar 2005 05:40:40 -0800 Received: from linux01.gwdg.de (localhost [127.0.0.1]) by linux01.gwdg.de (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id j2NDea33013329; Wed, 23 Mar 2005 14:40:36 +0100 Received: from localhost (jengelh@localhost) by linux01.gwdg.de (8.12.7/8.12.7/Submit) with ESMTP id j2NDeanZ013315; Wed, 23 Mar 2005 14:40:36 +0100 Date: Wed, 23 Mar 2005 14:40:36 +0100 (MET) From: Jan Engelhardt To: jamal cc: linux-kernel@vger.kernel.org, netdev@oss.sgi.com Subject: Re: memory leak in net/sched/ipt.c? In-Reply-To: <1111583497.1089.92.camel@jzny.localdomain> Message-ID: References: <1111581618.1088.72.camel@jzny.localdomain> <20050323125516.GP3086@postel.suug.ch> <1111583497.1089.92.camel@jzny.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: ClamAV 0.83/781/Wed Mar 23 03:58:42 2005 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 571 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: jengelh@linux01.gwdg.de Precedence: bulk X-list: netdev Content-Length: 232 Lines: 9 >I have seen people put little comments of "kfree will work if you >pass it NULL" - are you saying such assumptions exist all over >net/sched? Not only net/sched. The C standard requires that free(NULL) works. Jan Engelhardt --