]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nfsd: fix clp->cl_revoked list deletion causing softlock in nfsd
authorAndrew Elble <aweits@rit.edu>
Wed, 25 Feb 2015 22:46:27 +0000 (17:46 -0500)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 24 Mar 2015 01:02:50 +0000 (21:02 -0400)
commit95379cd7dae4b6e8490dab8c208b5537685cbeff
tree7ba2dea4eea439571e68a3f7a2c0f6202e6c63ef
parent6a6eed5961f0c3181524fe6d425eeeaa8c9707bd
nfsd: fix clp->cl_revoked list deletion causing softlock in nfsd

commit c876486be17aeefe0da569f3d111cbd8de6f675d upstream.

commit 2d4a532d385f ("nfsd: ensure that clp->cl_revoked list is
protected by clp->cl_lock") removed the use of the reaplist to
clean out clp->cl_revoked. It failed to change list_entry() to
walk clp->cl_revoked.next instead of reaplist.next

Fixes: 2d4a532d385f ("nfsd: ensure that clp->cl_revoked list is protected by clp->cl_lock")
Reported-by: Eric Meddaugh <etmsys@rit.edu>
Tested-by: Eric Meddaugh <etmsys@rit.edu>
Signed-off-by: Andrew Elble <aweits@rit.edu>
Reviewed-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfsd/nfs4state.c