[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080617141439.GB6970@ghostprotocols.net>
Date: Tue, 17 Jun 2008 11:14:39 -0300
From: Arnaldo Carvalho de Melo <acme@...hat.com>
To: Evgeniy Polyakov <johnpol@....mipt.ru>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: sk->sk_socket
Em Tue, Jun 17, 2008 at 04:32:55PM +0400, Evgeniy Polyakov escreveu:
> On Tue, Jun 17, 2008 at 03:25:11AM -0700, David Miller (davem@...emloft.net) wrote:
> > For the curious, here are the only assignments to sk->sk_socket
> > remaining in the net-next-2.6 tree right now:
> >
> > include/net/sock.h: sk->sk_socket = NULL;
> > include/net/sock.h: sk->sk_socket = parent;
Isn't this sock_graft and sock_orphan already? :)
> > net/core/sock.c: newsk->sk_socket = NULL;
> > net/core/sock.c: sk->sk_socket = sock;
I see, perhaps we can have __sock_orphan() in sk_clone() and
__sock_graft() in sock_init_data() 8)
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists