Skip to content
Commit 8b3e07ac authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

svcrpc: fix rare race on unix_domain creation



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: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 5ece3caf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment