netdev
[Top] [All Lists]

Re: [PATCH] take2: new module infrastructure for net_proto_family

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: Re: [PATCH] take2: new module infrastructure for net_proto_family
From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx>
Date: Sun, 20 Apr 2003 13:10:08 -0300
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20030420160218.GB8399@conectiva.com.br>
Organization: Conectiva S.A.
References: <20030419233408.GG6251@conectiva.com.br> <20030419.184122.74731778.davem@redhat.com> <20030420160218.GB8399@conectiva.com.br>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.4i
Em Sun, Apr 20, 2003 at 01:02:18PM -0300, Arnaldo C. Melo escreveu:
> Em Sat, Apr 19, 2003 at 06:41:22PM -0700, David S. Miller escreveu:
> > Note that, eventually we'll need to handle the struct sock side of this
> > equation.  Consider that struct sock's can exist long after the user struct
> > socket is closed (TCP is the best example), yet they reference internals to
> > the protocol module (via sk and skb callbacks, hash table linkage, etc.).
> 
> humm, I'll work on this later today, tweaking sk_alloc/sk_free.

as net_families is static in net/socket.c we'll need npf_get and npf_put
(net proto family get/put), is the naming OK for you?
 
> > We can deal with this later, let's merge your stuff in first.
> 
> Thanks, now to easter lunch :-)
> 
> - Arnaldo

<Prev in Thread] Current Thread [Next in Thread>