about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/cifs-timeout-2.6.38.patch
blob: 8168ffb5a1af9c45bbbf5e5f70ee35f637cef4a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- /tmp/linux-2.6.32.14/fs/cifs/transport.c	2011-03-27 20:37:20.000000000 +0200
+++ linux-2.6.32.14/fs/cifs/transport.c	2011-04-01 11:07:17.700305670 +0200
@@ -182,8 +182,8 @@
 			   after the retries we will kill the socket and
 			   reconnect which may clear the network problem.
 			*/
-			if ((i >= 14) || (!server->noblocksnd && (i > 2))) {
-				cERROR(1, "sends on sock %p stuck for 15 seconds",
+			if ((i >= 119) || (!server->noblocksnd && (i > 2))) {
+				cERROR(1, "sends on sock %p stuck for 119 seconds",
 				    ssocket);
 				rc = -EAGAIN;
 				break;