patch-2.3.99-pre2 linux/net/sunrpc/svcsock.c

Next file: linux/net/unix/af_unix.c
Previous file: linux/net/sched/sch_ingress.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre1/linux/net/sunrpc/svcsock.c linux/net/sunrpc/svcsock.c
@@ -636,7 +636,7 @@
 		dprintk("svc: incomplete TCP record (%d of %d)\n",
 			len, svsk->sk_reclen);
 		svc_sock_received(svsk, ready);
-		len = -EAGAIN;	/* record not complete */
+		return -EAGAIN;	/* record not complete */
 	}
 
 	/* Frob argbuf */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)