diff options
author | David Guibert <david.guibert@gmail.com> | 2012-11-06 10:50:56 +0100 |
---|---|---|
committer | David Guibert <david.guibert@gmail.com> | 2012-11-15 07:41:11 +0100 |
commit | c604ff045e8fb60dbbb4d004fadbcca9376d4840 (patch) | |
tree | 39e922fb929e11bc2e972996382747eda5e8865e /pkgs/os-specific/linux/kernel | |
parent | 6c943d37581a947c94931ff43b9d8ee534515d99 (diff) | |
download | nixlib-c604ff045e8fb60dbbb4d004fadbcca9376d4840.tar nixlib-c604ff045e8fb60dbbb4d004fadbcca9376d4840.tar.gz nixlib-c604ff045e8fb60dbbb4d004fadbcca9376d4840.tar.bz2 nixlib-c604ff045e8fb60dbbb4d004fadbcca9376d4840.tar.lz nixlib-c604ff045e8fb60dbbb4d004fadbcca9376d4840.tar.xz nixlib-c604ff045e8fb60dbbb4d004fadbcca9376d4840.tar.zst nixlib-c604ff045e8fb60dbbb4d004fadbcca9376d4840.zip |
add cifs_timeout to kernel 3.5
Diffstat (limited to 'pkgs/os-specific/linux/kernel')
-rw-r--r-- | pkgs/os-specific/linux/kernel/cifs-timeout-3.5.7.patch | 13 | ||||
-rw-r--r-- | pkgs/os-specific/linux/kernel/patches.nix | 6 |
2 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/cifs-timeout-3.5.7.patch b/pkgs/os-specific/linux/kernel/cifs-timeout-3.5.7.patch new file mode 100644 index 000000000000..13d17ad64850 --- /dev/null +++ b/pkgs/os-specific/linux/kernel/cifs-timeout-3.5.7.patch @@ -0,0 +1,13 @@ +--- 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; diff --git a/pkgs/os-specific/linux/kernel/patches.nix b/pkgs/os-specific/linux/kernel/patches.nix index 0699f09c5056..d42581e457ed 100644 --- a/pkgs/os-specific/linux/kernel/patches.nix +++ b/pkgs/os-specific/linux/kernel/patches.nix @@ -230,6 +230,12 @@ rec { features.cifsTimeout = true; }; + cifs_timeout_3_5_7 = + { name = "cifs-timeout"; + patch = ./cifs-timeout-3.5.7.patch; + features.cifsTimeout = true; + }; + no_xsave = { name = "no-xsave"; patch = ./no-xsave.patch; |