patch-2.4.20 linux-2.4.20/fs/nfsd/nfssvc.c
Next file: linux-2.4.20/fs/nfsd/nfsxdr.c
Previous file: linux-2.4.20/fs/nfsd/nfsproc.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Thu Nov 28 15:53:15 2002
-  Orig file: 
linux-2.4.19/fs/nfsd/nfssvc.c
-  Orig date: 
Fri Aug  2 17:39:45 2002
diff -urN linux-2.4.19/fs/nfsd/nfssvc.c linux-2.4.20/fs/nfsd/nfssvc.c
@@ -95,7 +95,7 @@
 		if (error < 0)
 			goto failure;
 
-#if 0	/* Don't even pretend that TCP works. It doesn't. */
+#if CONFIG_NFSD_TCP
 		error = svc_makesock(nfsd_serv, IPPROTO_TCP, port);
 		if (error < 0)
 			goto failure;
@@ -189,7 +189,7 @@
 		 * recvfrom routine.
 		 */
 		while ((err = svc_recv(serv, rqstp,
-				       MAX_SCHEDULE_TIMEOUT)) == -EAGAIN)
+				       5*60*HZ)) == -EAGAIN)
 		    ;
 		if (err < 0)
 			break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)