]> Git Repo - linux.git/commitdiff
SUNRPC: No, I did not intend to create a 256KiB hashtable
authorTrond Myklebust <[email protected]>
Thu, 12 Sep 2013 14:16:31 +0000 (10:16 -0400)
committerTrond Myklebust <[email protected]>
Thu, 12 Sep 2013 14:16:31 +0000 (10:16 -0400)
Fix the declaration of the gss_auth_hash_table so that it creates
a 16 bucket hashtable, as I had intended.

Reported-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
net/sunrpc/auth_gss/auth_gss.c

index 30eb502135bb93f4d43b9789936d48bd50459a77..fcac5d14171779a32599e6b4111b75a8e94a15aa 100644 (file)
@@ -75,7 +75,7 @@ static unsigned int gss_key_expire_timeo = GSS_KEY_EXPIRE_TIMEO;
  * using integrity (two 4-byte integers): */
 #define GSS_VERF_SLACK         100
 
-static DEFINE_HASHTABLE(gss_auth_hash_table, 16);
+static DEFINE_HASHTABLE(gss_auth_hash_table, 4);
 static DEFINE_SPINLOCK(gss_auth_hash_lock);
 
 struct gss_pipe {
This page took 0.057507 seconds and 4 git commands to generate.