From d2a76d92bea329a61be8f173a39e49965daf6ce7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 14 May 2014 14:25:39 +0200 Subject: use nfsv3 and tcp as default --- target/linux/patches/3.14.4/nfsv3-tcp.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 target/linux/patches/3.14.4/nfsv3-tcp.patch (limited to 'target') diff --git a/target/linux/patches/3.14.4/nfsv3-tcp.patch b/target/linux/patches/3.14.4/nfsv3-tcp.patch new file mode 100644 index 000000000..68ed95b08 --- /dev/null +++ b/target/linux/patches/3.14.4/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 = ""; -- cgit v1.2.3