Re: [PATCH 01/11] rxrpc: Add a common object cache

From: David Miller
Date: Tue Mar 08 2016 - 15:13:22 EST


From: David Howells <dhowells@xxxxxxxxxx>
Date: Tue, 08 Mar 2016 11:39:57 +0000

> One could argue, I suppose, that things should've been arranged that the RxRPC
> client would manage the lifetime of each connection it sets up, rather than
> both ends letting it lapse by mutual loss of interest. But you *still* have to
> have a timeout, lest the client die and not close its connection.

But the point is if there is no limitation on the number of these connections
that can be setup.... wait for troubles.

And if you try to put in some kind of limit to handle this, it's then
easy for the bad guy to block out other legitimate users.