]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: call_connect_status() must handle tasks that got transmitted
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 30 Nov 2018 17:48:47 +0000 (12:48 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 2 Dec 2018 14:43:56 +0000 (09:43 -0500)
commit4068e746207eef9a57ca5f3a107dc16fef5928ed
tree8db3df35d849fcef6d1249cfd57df9222da734cb
parentea8d27bdff8585b3df7675ee42d549a045ce2d87
SUNRPC: call_connect_status() must handle tasks that got transmitted

If a task failed to get the write lock in the call to xprt_connect(), then
it will be queued on xprt->sending. In that case, it is possible for it
to get transmitted before the call to call_connect_status(), in which
case it needs to be handled by call_transmit_status() instead.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c