diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-03-07 22:50:47 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-03-08 11:51:29 -0500 |
commit | 8b3e07ac908d005bb791410f594cce8744f6806a (patch) | |
tree | 8b1d3cf7295110738dc8a59e3f44f443ded97859 /net/sunrpc/svc_xprt.c | |
parent | 5ece3cafbd88d4da5c734e1810c4a2e6474b57b2 (diff) |
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: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/svc_xprt.c')
0 files changed, 0 insertions, 0 deletions