]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Fix socket waits for write buffer space
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 15 Mar 2022 01:02:10 +0000 (21:02 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 22 Mar 2022 19:52:55 +0000 (15:52 -0400)
commita59981599e01a10c44caf4861ca963bcd8c45082
treebbc3a568c50fcc3d5708e7601b80c64f90496130
parent2647848fc9576aaeded180e739b925198b4dbcf8
SUNRPC: Fix socket waits for write buffer space

The socket layer requires that we use the socket lock to protect changes
to the sock->sk_write_pending field and others.

Reported-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/xprtsock.c