diff options
author | J. Bruce Fields <bfields@redhat.com> | 2019-06-06 01:03:52 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-07-04 00:52:09 +0300 |
commit | 689d7ba4895b803244f596e56ffa3d9e4f24acdc (patch) | |
tree | bb66f63cdc792f2a297255fb86518d13d6a77e65 /net/sunrpc/svc_xprt.c | |
parent | 30498dcc12e5fd0aa7395ef80da8466854ff6a41 (diff) | |
download | linux-689d7ba4895b803244f596e56ffa3d9e4f24acdc.tar.xz |
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: syzbot+83a43746cebef3508b49@syzkaller.appspotmail.com
Fixes: db17b61765c2 ("nfsd4: drc containerization")
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/svc_xprt.c')
0 files changed, 0 insertions, 0 deletions