Loading net/sunrpc/xprtsock.c +6 −6 Original line number Diff line number Diff line Loading @@ -587,13 +587,13 @@ static int xs_udp_send_request(struct rpc_task *task) dprintk("RPC: xs_udp_send_request(%u) = %d\n", xdr->len - req->rq_bytes_sent, status); if (status >= 0) { task->tk_bytes_sent += status; if (likely(status >= (int) req->rq_slen)) if (status >= req->rq_slen) return 0; /* Still some bytes left; set up for a retry later. */ if (status > 0) status = -EAGAIN; } switch (status) { case -ENETUNREACH: Loading Loading
net/sunrpc/xprtsock.c +6 −6 Original line number Diff line number Diff line Loading @@ -587,13 +587,13 @@ static int xs_udp_send_request(struct rpc_task *task) dprintk("RPC: xs_udp_send_request(%u) = %d\n", xdr->len - req->rq_bytes_sent, status); if (status >= 0) { task->tk_bytes_sent += status; if (likely(status >= (int) req->rq_slen)) if (status >= req->rq_slen) return 0; /* Still some bytes left; set up for a retry later. */ if (status > 0) status = -EAGAIN; } switch (status) { case -ENETUNREACH: Loading