patch-2.4.0-test10 linux/net/sunrpc/svcsock.c
Next file: linux/net/unix/af_unix.c
Previous file: linux/net/sunrpc/auth_null.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon Oct 30 14:41:41 2000
- Orig file:
v2.4.0-test9/linux/net/sunrpc/svcsock.c
- Orig date:
Fri Jul 7 15:57:49 2000
diff -u --recursive --new-file v2.4.0-test9/linux/net/sunrpc/svcsock.c linux/net/sunrpc/svcsock.c
@@ -800,7 +800,6 @@
"svc_recv: service %p, wait queue active!\n",
rqstp);
-again:
/* Initialize the buffers */
rqstp->rq_argbuf = rqstp->rq_defbuf;
rqstp->rq_resbuf = rqstp->rq_defbuf;
@@ -846,7 +845,7 @@
/* No data, incomplete (TCP) read, or accept() */
if (len == 0 || len == -EAGAIN) {
svc_sock_release(rqstp);
- goto again;
+ return -EAGAIN;
}
rqstp->rq_secure = ntohs(rqstp->rq_addr.sin_port) < 1024;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)