SUNRPC: Enforce an upper limit on the number of cached credentials
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 21 Jul 2014 17:32:42 +0000 (13:32 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 3 Aug 2014 20:02:50 +0000 (16:02 -0400)
commitbae6746ff356478e1a2706072edbfb514072e0ff
treefbe396fc71f04c0684033be3a0b24db349d150a8
parente655f945cd7ba2a8360ddd5462ca535a3b41e07e
SUNRPC: Enforce an upper limit on the number of cached credentials

In some cases where the credentials are not often reused, we may want
to limit their total number just in order to make the negative lookups
in the hash table more manageable.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/auth.c