[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <14829.1467746498@warthog.procyon.org.uk>
Date: Tue, 05 Jul 2016 20:21:38 +0100
From: David Howells <dhowells@...hat.com>
To: David Miller <davem@...emloft.net>
Cc: dhowells@...hat.com, netdev@...r.kernel.org,
linux-afs@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 06/24] rxrpc: Dup the main conn list for the proc interface
David Miller <davem@...emloft.net> wrote:
> Wouldn't it be better to just code the proc stuff to walk whatever
> table the rest of the stack uses to hold all of the connections
> as TCP et al. do?
There won't be "a table" that the rest of the stack uses. There will be more
than one. Service conns and client conns will be handled separately, they
will have different lifecycle strategies, different lifetimes and separate
object handling code. It's almost worth actually having separate structs for
them, but there's sufficient common ground that it doesn't actually make
sense, I think.
David
Powered by blists - more mailing lists