diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-07-19 13:48:44 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-08-04 22:35:40 -0400 |
commit | 8c39a39e28b86a4021d9be314ce01019bafa5fdc (patch) | |
tree | 08f4e0f19d2289f40134d1ac8d9c8dbc5fbbe09d /fs/nfs/delegation.c | |
parent | e21a712a9685488f5ce80495b37b9fdbe96c230d (diff) | |
download | lwn-8c39a39e28b86a4021d9be314ce01019bafa5fdc.tar.gz lwn-8c39a39e28b86a4021d9be314ce01019bafa5fdc.zip |
NFSv4: Fix a credential refcount leak in nfs41_check_delegation_stateid
It is unsafe to dereference delegation outside the rcu lock, and in
any case, the refcount is guaranteed held if cred is non-zero.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/delegation.c')
0 files changed, 0 insertions, 0 deletions