SUNRPC: Fix a server shutdown leak
stable inclusion from stable-v5.10.175 commit ce7dd61e004002bc1c48d1ca47c887f3f3cc7370 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8711T Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ce7dd61e004002bc1c48d1ca47c887f3f3cc7370 -------------------------------- [ Upstream commit 9ca6705d ] Fix a race where kthread_stop() may prevent the threadfn from ever getting called. If that happens the svc_rqst will not be cleaned up. Fixes: ed6473dd ("NFSv4: Fix callback server shutdown") Signed-off-by:Benjamin Coddington <bcodding@redhat.com> Reviewed-by:
Jeff Layton <jlayton@kernel.org> Signed-off-by:
Chuck Lever <chuck.lever@oracle.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment