summaryrefslogtreecommitdiff
path: root/target/linux/patches/3.14.40/nfsv3-tcp.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-02 23:12:07 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-02 23:12:07 +0200
commit231c256c60513e21ccbdf59490ab9ccec1cf4cfc (patch)
tree12c88dc409d9ea9e6188d18b261890ef33388451 /target/linux/patches/3.14.40/nfsv3-tcp.patch
parent797d8166b79d3f2dc06922222aa36d0e39aae8f2 (diff)
parenta8428de05cd6ad86dba8444de78a64294d4ddb5e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/linux/patches/3.14.40/nfsv3-tcp.patch')
-rw-r--r--target/linux/patches/3.14.40/nfsv3-tcp.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/3.14.40/nfsv3-tcp.patch b/target/linux/patches/3.14.40/nfsv3-tcp.patch
new file mode 100644
index 000000000..68ed95b08
--- /dev/null
+++ b/target/linux/patches/3.14.40/nfsv3-tcp.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-3.13.11.orig/fs/nfs/nfsroot.c linux-3.13.11/fs/nfs/nfsroot.c
+--- linux-3.13.11.orig/fs/nfs/nfsroot.c 2014-04-23 01:49:33.000000000 +0200
++++ linux-3.13.11/fs/nfs/nfsroot.c 2014-05-13 16:09:25.000000000 +0200
+@@ -87,7 +87,7 @@
+ #define NFS_ROOT "/tftpboot/%s"
+
+ /* Default NFSROOT mount options. */
+-#define NFS_DEF_OPTIONS "vers=2,udp,rsize=4096,wsize=4096"
++#define NFS_DEF_OPTIONS "nfsvers=3,proto=tcp,rsize=4096,wsize=4096"
+
+ /* Parameters passed from the kernel command line */
+ static char nfs_root_parms[256] __initdata = "";