Received: with ECARTIS (v1.0.0; list netdev); Sat, 26 Mar 2005 05:42:33 -0800 (PST) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j2QDgSEq024907 for ; Sat, 26 Mar 2005 05:42:28 -0800 Received: by wproxy.gmail.com with SMTP id 57so375801wri for ; Sat, 26 Mar 2005 05:42:20 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=V9/T2KEuCF5BPt8dyXwyDujamoCjQwzxcghCa/R2ksUXtoucw5eiAduGCdV3bArJZHhr7fFwxkGlxvGrIeBz0/j5WzSqbPVbtqdPd/QyfILMuc1ATMb9KhDDLzWweWGkiYAr01Bdwbeks0M5WVif+LE1Q19LzkZ/uqn2myFDXEU= Received: by 10.54.102.14 with SMTP id z14mr1791662wrb; Sat, 26 Mar 2005 05:42:20 -0800 (PST) Received: by 10.54.72.15 with HTTP; Sat, 26 Mar 2005 05:42:20 -0800 (PST) Message-ID: <39e6f6c70503260542302b35db@mail.gmail.com> Date: Sat, 26 Mar 2005 10:42:20 -0300 From: Arnaldo Carvalho de Melo Reply-To: acme@conectiva.com.br To: Marcel Holtmann Subject: Re: [NET] make all protos partially use sk_prot Cc: Arnaldo Carvalho de Melo , "David S. Miller" , Network Development Mailing List In-Reply-To: <1111844163.9195.191.camel@pegasus> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <20050326003937.GA13951@conectiva.com.br> <1111842541.9195.183.camel@pegasus> <39e6f6c705032605136bd797b2@mail.gmail.com> <39e6f6c7050326051571ef8272@mail.gmail.com> <1111844163.9195.191.camel@pegasus> X-Virus-Scanned: ClamAV 0.83/789/Fri Mar 25 21:33:13 2005 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 740 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: arnaldo.melo@gmail.com Precedence: bulk X-list: netdev Content-Length: 993 Lines: 27 On Sat, 26 Mar 2005 14:36:03 +0100, Marcel Holtmann wrote: > Hi Arnaldo, > > > Ah, apart from these style changes, do you think the real changes in this patch > > are worth? > > actually I am the wrong person to judge on this. However if socket users > don't have to care about owner and slab anymore (or at least less), I > think it is a good thing to do. OK. > Btw all the ".slab = NULL," stuff in the proto declarations is not > needed and we normally omit values that are 0 or NULL. I used to be a top nitpicker for this kind of stuff, and avoid it a lot, but used this time only to clearly state that this protocol doesn't use a slab cache, anyway, I'll remove those as well, as we can see which protocols are not using a slab thru /proc/net/protocols, introduced in this changeset. > And some of the proto__seq_* functions are not static. What is the > reason to have them public? My mistake, thanks for pointing this out, new patch in the works. - Arnaldo