Message ID | 20121022202611.GA27191@nyc-qws-132.nyc.delacy.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
--- a/net/sunrpc/xprtsock.c 2012-08-14 08:47:16.000000000 -0400 +++ b/net/sunrpc/xprtsock.c 2012-10-22 14:50:09.237725498 -0400 @@ -1571,7 +1571,8 @@ dprintk("RPC: %s client %p...\n" "RPC: error %d\n", __func__, xprt, sk->sk_err); - xprt_wake_pending_tasks(xprt, -EAGAIN); + if (!xprt_connecting(xprt)) + xprt_wake_pending_tasks(xprt, -EAGAIN); out: read_unlock_bh(&sk->sk_callback_lock); }