diff options
Diffstat (limited to 'net/sunrpc/svc_xprt.c')
| -rw-r--r-- | net/sunrpc/svc_xprt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c index c334f5413c60..75f9aa2eb089 100644 --- a/net/sunrpc/svc_xprt.c +++ b/net/sunrpc/svc_xprt.c | |||
| @@ -743,8 +743,10 @@ int svc_recv(struct svc_rqst *rqstp, long timeout) | |||
| 743 | if (rqstp->rq_deferred) { | 743 | if (rqstp->rq_deferred) { |
| 744 | svc_xprt_received(xprt); | 744 | svc_xprt_received(xprt); |
| 745 | len = svc_deferred_recv(rqstp); | 745 | len = svc_deferred_recv(rqstp); |
| 746 | } else | 746 | } else { |
| 747 | len = xprt->xpt_ops->xpo_recvfrom(rqstp); | 747 | len = xprt->xpt_ops->xpo_recvfrom(rqstp); |
| 748 | svc_xprt_received(xprt); | ||
| 749 | } | ||
| 748 | dprintk("svc: got len=%d\n", len); | 750 | dprintk("svc: got len=%d\n", len); |
| 749 | } | 751 | } |
| 750 | 752 | ||
