nixpkgs/pkgs/os-specific/linux/kernel/cifs-timeout-3.5.7.patch
2012-11-15 07:41:11 +01:00

13 lines
541 B
Diff

--- a/fs/cifs/transport.c.old 2012-11-06 10:53:23.640093369 +0100
+++ a/fs/cifs/transport.c 2012-11-06 10:54:31.835469340 +0100
@@ -176,8 +176,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;