summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2026-01-07 10:27:10 +0300
committerAnna Schumaker <anna.schumaker@oracle.com>2026-01-20 22:49:47 +0300
commit36e3e9387b367bd0cef3437d8181a6d6cb3c3b3f (patch)
tree559625e422354a018a12c498db15a3259ebd43fb /include/linux/platform_data
parente96d9ca486b8310abc3736f45b45a91f0628b041 (diff)
downloadlinux-36e3e9387b367bd0cef3437d8181a6d6cb3c3b3f.tar.xz
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/platform_data')
0 files changed, 0 insertions, 0 deletions