]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: xprt_connect() don't abort the task if the transport isn't bound
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Mar 2009 18:09:39 +0000 (14:09 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Mar 2009 18:09:39 +0000 (14:09 -0400)
commit47faa72069559c5045c66719db1472853164e64b
treebfc1c9a6336d4b7058c742d4a3178f8f588f5b66
parent0a4df38182910ac123a7ed4faa03548d372fc5f9
SUNRPC: xprt_connect() don't abort the task if the transport isn't bound

If the transport isn't bound, then we should just return ENOTCONN, letting
call_connect_status() and/or call_status() deal with retrying. Currently,
we appear to abort all pending tasks with an EIO error.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprt.c
net/sunrpc/xprtsock.c