Skip to content
Commit 689d7ba4 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

nfsd: fix cleanup of nfsd_reply_cache_init on failure



The failure to unregister the shrinker results will result in corruption
when the nfsd_net is freed.

Also clean up the drc_slab while we're here.

Reported-by: default avatar <syzbot+83a43746cebef3508b49@syzkaller.appspotmail.com>
Fixes: db17b61765c2 ("nfsd4: drc containerization")
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 30498dcc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment