summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorAvi Weiss <thnkslprpt@gmail.com>2026-10-19 13:11:17 +0300
committerAnna Schumaker <anna.schumaker@hammerspace.com>2026-11-09 15:04:53 -0500
commit0cd6e563938a5b2f88ce0008eda32f9617c9d81f (patch)
tree1b9c9771545baa4b6421c101af034b7294cac4f4 /rust/kernel/alloc/kvec/errors.rs
parent702d55edc017632a0c39c1d4bdd579bdbadfd730 (diff)
sunrpc: instantiate rpc_pipefs dentry before publishing it
rpc_mkpipe_dentry() publishes pipe->dentry before d_make_persistent() attaches its inode. A concurrent rpc_queue_upcall() or rpc_timeout_upcall_queue() can conceivably dereference the dentry while d_inode() is NULL. Attach the inode before publishing the dentry, restoring the ordering used before the rpc_pipefs conversion refactor. Fixes: 946e2256775e ("convert rpc_pipefs") Signed-off-by: Avi Weiss <thnkslprpt@gmail.com> Signed-off-by: Anna Schumaker <anna.schumaker@hammerspace.com>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions