SUNRPC: Fix socket waits for write buffer space
stable inclusion from stable-v5.10.111 commit 7a506fabcfe1a58bcdf6dd18fa3fca42635235f0 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5GL1Z Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7a506fabcfe1a58bcdf6dd18fa3fca42635235f0 -------------------------------- [ Upstream commit 7496b59f ] The socket layer requires that we use the socket lock to protect changes to the sock->sk_write_pending field and others. Reported-by: NChuck Lever <chuck.lever@oracle.com> Signed-off-by: NTrond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Reviewed-by: NWei Li <liwei391@huawei.com>
Showing
想要评论请 注册 或 登录