patch-2.2.0-pre9 linux/net/sunrpc/xprt.c

Next file: linux/scripts/tkcond.c
Previous file: linux/net/irda/wrapper.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre8/linux/net/sunrpc/xprt.c linux/net/sunrpc/xprt.c
@@ -655,10 +655,7 @@
 		reclen = ntohl(xprt->tcp_reclen);
 		dprintk("RPC:      reclen %08x\n", reclen);
 		xprt->tcp_more = (reclen & 0x80000000)? 0 : 1;
-		if (!(reclen &= 0x7fffffff)) {
-			printk(KERN_NOTICE "RPC:      empty TCP record.\n");
-			return -ENOTCONN;	/* break connection */
-		}
+		reclen &= 0x7fffffff;
 		xprt->tcp_total += reclen;
 		xprt->tcp_reclen = reclen;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov