From 11f569583fa14cc97566d6464635309cdc7b5e35 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 30 Jan 2020 09:20:16 +0100 Subject: linux: update 3.16.x kernel, remove unsupported --- target/linux/patches/3.16.81/nfsv3-tcp.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 target/linux/patches/3.16.81/nfsv3-tcp.patch (limited to 'target/linux/patches/3.16.81/nfsv3-tcp.patch') diff --git a/target/linux/patches/3.16.81/nfsv3-tcp.patch b/target/linux/patches/3.16.81/nfsv3-tcp.patch new file mode 100644 index 000000000..d5e07e1c2 --- /dev/null +++ b/target/linux/patches/3.16.81/nfsv3-tcp.patch @@ -0,0 +1,12 @@ +diff -Nur linux-3.15-rc5.orig/fs/nfs/nfsroot.c linux-3.15-rc5/fs/nfs/nfsroot.c +--- linux-3.15-rc5.orig/fs/nfs/nfsroot.c 2014-05-09 22:10:52.000000000 +0200 ++++ linux-3.15-rc5/fs/nfs/nfsroot.c 2014-05-16 15:45:38.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