svcrpc: fix rare race on unix_domain creation
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 8 Mar 2011 03:50:47 +0000 (22:50 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 8 Mar 2011 16:51:29 +0000 (11:51 -0500)
Note that "new" here is not yet fully initialized; auth_domain_put
should be called only on auth_domains that have actually been added to
the hash.

Before this fix, two attempts to add the same domain at once could
cause the hlist_del in auth_domain_put to fail.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>

No differences found