[PATCH] sunrpc: fix refcounting problems in rpc servers
[deliverable/linux.git] / net / sunrpc / svcauth.c
index 8f2320aded5c42f645b406cf51539d10228ef055..0004c1f0ef047377d1db5a645d5e9d0e745ed069 100644 (file)
@@ -147,10 +147,8 @@ auth_domain_lookup(char *name, struct auth_domain *new)
                        return hp;
                }
        }
-       if (new) {
+       if (new)
                hlist_add_head(&new->hash, head);
-               kref_get(&new->ref);
-       }
        spin_unlock(&auth_domain_lock);
        return new;
 }
This page took 0.025395 seconds and 5 git commands to generate.