aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2025-01-26 01:13:18 +0000
committerChuck Lever <[email protected]>2025-02-02 16:31:58 +0000
commitb9382e29ca538b879645899ce45d652a304e2ed2 (patch)
tree3aabf6706ea6d5273e62d779444ad4c89a113934 /scripts/generate_rust_target.rs
parentnfsd: clear acl_access/acl_default after releasing them (diff)
downloadkernel-b9382e29ca538b879645899ce45d652a304e2ed2.tar.gz
kernel-b9382e29ca538b879645899ce45d652a304e2ed2.zip
nfsd: validate the nfsd_serv pointer before calling svc_wake_up
nfsd_file_dispose_list_delayed can be called from the filecache laundrette, which is shut down after the nfsd threads are shut down and the nfsd_serv pointer is cleared. If nn->nfsd_serv is NULL then there are no threads to wake. Ensure that the nn->nfsd_serv pointer is non-NULL before calling svc_wake_up in nfsd_file_dispose_list_delayed. This is safe since the svc_serv is not freed until after the filecache laundrette is cancelled. Reported-by: Salvatore Bonaccorso <[email protected]> Closes: https://bugs.debian.org/1093734 Fixes: ffb402596147 ("nfsd: Don't leave work of closing files to a work queue") Cc: [email protected] Signed-off-by: Jeff Layton <[email protected]> Reviewed-by: NeilBrown <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions