diff options
author | 2014-01-04 07:18:04 -0500 | |
---|---|---|
committer | 2014-01-06 15:14:17 -0500 | |
commit | a92e5eb1103341e985a575e48e26f87fbb9b1679 (patch) | |
tree | 1664ccd9c43785c5daa99e76a641cacb53c546c8 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | sunrpc: don't wait for write before allowing reads from use-gss-proxy file (diff) | |
download | linux-dev-a92e5eb1103341e985a575e48e26f87fbb9b1679.tar.xz linux-dev-a92e5eb1103341e985a575e48e26f87fbb9b1679.zip |
sunrpc: fix potential race between setting use_gss_proxy and the upcall rpc_clnt
An nfsd thread can call use_gss_proxy and find it set to '1' but find
gssp_clnt still NULL, so that when it attempts the upcall the result
will be an unnecessary -EIO.
So, ensure that gssp_clnt is created first, and set the use_gss_proxy
variable only if that succeeds.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions