Re: [PATCH net-next 06/24] rxrpc: Dup the main conn list for the proc interface

From: David Howells
Date: Tue Jul 05 2016 - 15:21:46 EST


David Miller <davem@xxxxxxxxxxxxx> 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