diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-01-07 08:27:10 +0100 |
|---|---|---|
| committer | Anna Schumaker <anna.schumaker@oracle.com> | 2026-01-20 14:49:47 -0500 |
| commit | 36e3e9387b367bd0cef3437d8181a6d6cb3c3b3f (patch) | |
| tree | 559625e422354a018a12c498db15a3259ebd43fb /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | e96d9ca486b8310abc3736f45b45a91f0628b041 (diff) | |
NFS: use refcount_inc_not_zero nfs_start_delegation_return
Using the unconditional reference increment means we can take a
reference to a delegation already in the RCU grace period, which could
cause a use after free under very unlikely conditions. Switch to use
refcount_inc_not_zero instead.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
