diff options
| author | Trond Myklebust <[email protected]> | 2019-10-31 22:40:33 +0000 |
|---|---|---|
| committer | Anna Schumaker <[email protected]> | 2019-11-01 15:03:56 +0000 |
| commit | 79cc55422ce99be5964bde208ba8557174720893 (patch) | |
| tree | 4158ef1314feac72c6d39d21564860a137e2abde /net/tipc/socket.c | |
| parent | NFSv4: Don't allow a cached open with a revoked delegation (diff) | |
| download | kernel-79cc55422ce99be5964bde208ba8557174720893.tar.gz kernel-79cc55422ce99be5964bde208ba8557174720893.zip | |
NFS: Fix an RCU lock leak in nfs4_refresh_delegation_stateid()
A typo in nfs4_refresh_delegation_stateid() means we're leaking an
RCU lock, and always returning a value of 'false'. As the function
description states, we were always supposed to return 'true' if a
matching delegation was found.
Fixes: 12f275cdd163 ("NFSv4: Retry CLOSE and DELEGRETURN on NFS4ERR_OLD_STATEID.")
Cc: [email protected] # v4.15+
Signed-off-by: Trond Myklebust <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions
