]> 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)
commit1a05f3d8e69c5065e4c442f172030f6a74ef85e7
tree8db3df35d849fcef6d1249cfd57df9222da734cb
parenta9621b1459b4927f0b4215bfb63b000b9d6f24bd
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