aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2023-02-11 12:50:08 +0000
committerChuck Lever <[email protected]>2023-02-11 17:09:44 +0000
commit4102db175b5d884d133270fdbd0e59111ce688fc (patch)
tree350c62bf5ef54c610c6a13e29120460f0a00099f /net/unix/af_unix.c
parentnfsd: don't free files unconditionally in __nfsd_file_cache_purge (diff)
downloadkernel-4102db175b5d884d133270fdbd0e59111ce688fc.tar.gz
kernel-4102db175b5d884d133270fdbd0e59111ce688fc.zip
nfsd: don't destroy global nfs4_file table in per-net shutdown
The nfs4_file table is global, so shutting it down when a containerized nfsd is shut down is wrong and can lead to double-frees. Tear down the nfs4_file_rhltable in nfs4_state_shutdown instead of nfs4_state_shutdown_net. Fixes: d47b295e8d76 ("NFSD: Use rhashtable for managing nfs4_file objects") Link: https://bugzilla.redhat.com/show_bug.cgi?id=2169017 Reported-by: JianHong Yin <[email protected]> Signed-off-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions