diff options
Diffstat (limited to 'net/sunrpc/xprtsock.c')
-rw-r--r-- | net/sunrpc/xprtsock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index b81494a97a5e..e97e4ca43ef3 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c | |||
@@ -587,6 +587,7 @@ static int xs_udp_send_request(struct rpc_task *task) | |||
587 | dprintk("RPC: xs_udp_send_request(%u) = %d\n", | 587 | dprintk("RPC: xs_udp_send_request(%u) = %d\n", |
588 | xdr->len - req->rq_bytes_sent, status); | 588 | xdr->len - req->rq_bytes_sent, status); |
589 | 589 | ||
590 | task->tk_bytes_sent += status; | ||
590 | if (likely(status >= (int) req->rq_slen)) | 591 | if (likely(status >= (int) req->rq_slen)) |
591 | return 0; | 592 | return 0; |
592 | 593 | ||