diff options
author | J. Bruce Fields <bfields@redhat.com> | 2010-09-13 03:55:25 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-09-13 03:55:25 +0400 |
commit | f2d47d02fd84343a3c5452daca6ed12c75618aff (patch) | |
tree | 7f7e70c78070021d28e319bc1124cea283ec1e84 /CREDITS | |
parent | 49553c2ef88749dd502687f4eb9c258bb10a4f44 (diff) | |
download | linux-f2d47d02fd84343a3c5452daca6ed12c75618aff.tar.xz |
Fix null dereference in call_allocate
In call_allocate we need to reach the auth in order to factor au_cslack
into the allocation.
As of a17c2153d2e271b0cbacae9bed83b0eaa41db7e1 "SUNRPC: Move the bound
cred to struct rpc_rqst", call_allocate attempts to do this by
dereferencing tk_client->cl_auth, however this is not guaranteed to be
defined--cl_auth can be zero in the case of gss context destruction (see
rpc_free_auth).
Reorder the client state machine to bind credentials before allocating,
so that we can instead reach the auth through the cred.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions