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)
commit9bd11523dc1b9293d1eee2c0b8cfc986a312bbce
tree8db3df35d849fcef6d1249cfd57df9222da734cb
parentad3cba223ac02dc769c3bbe88efe277bbb457566
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