linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: linux-kernel@vger.kernel.org, stable@vger.kernel.org
Cc: Liwei Song <liwei.song@windriver.com>,
	Trond Myklebust <trond.myklebust@hammerspace.com>,
	Sasha Levin <sashal@kernel.org>,
	linux-nfs@vger.kernel.org
Subject: [PATCH AUTOSEL 5.6 056/129] nfsroot: set tcp as the default transport protocol
Date: Wed, 15 Apr 2020 07:33:31 -0400	[thread overview]
Message-ID: <20200415113445.11881-56-sashal@kernel.org> (raw)
In-Reply-To: <20200415113445.11881-1-sashal@kernel.org>

From: Liwei Song <liwei.song@windriver.com>

[ Upstream commit 89c8023fd46167a41246a56b31d1b3c9a20b6970 ]

UDP is disabled by default in commit b24ee6c64ca7 ("NFS: allow
deprecation of NFS UDP protocol"), but the default mount options
is still udp, change it to tcp to avoid the "Unsupported transport
protocol udp" error if no protocol is specified when mount nfs.

Fixes: b24ee6c64ca7 ("NFS: allow deprecation of NFS UDP protocol")
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 fs/nfs/nfsroot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/nfs/nfsroot.c b/fs/nfs/nfsroot.c
index effaa4247b912..8d32788056022 100644
--- a/fs/nfs/nfsroot.c
+++ b/fs/nfs/nfsroot.c
@@ -88,7 +88,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		"vers=2,tcp,rsize=4096,wsize=4096"
 
 /* Parameters passed from the kernel command line */
 static char nfs_root_parms[NFS_MAXPATHLEN + 1] __initdata = "";
-- 
2.20.1


  parent reply	other threads:[~2020-04-15 11:40 UTC|newest]

Thread overview: 136+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-15 11:32 [PATCH AUTOSEL 5.6 001/129] drm/ttm: flush the fence on the bo after we individualize the reservation object Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 002/129] gfs2: clear ail1 list when gfs2 withdraws Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 003/129] clk: Don't cache errors from clk_ops::get_phase() Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 004/129] clk: at91: usb: continue if clk_hw_round_rate() return zero Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 005/129] clk: imx: pll14xx: Add new frequency entries for pll1443x table Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 006/129] crypto: qce - use cryptlen when adding extra sgl Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 007/129] net/mlx5e: Enforce setting of a single FEC mode Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 008/129] s390/crypto: explicitly memzero stack key material in aes_s390.c Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 009/129] f2fs: fix to avoid potential deadlock Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 010/129] f2fs: fix the panic in do_checkpoint() Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 011/129] bpf: Reliably preserve btf_trace_xxx types Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 012/129] xfs: fix iclog release error check race with shutdown Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 013/129] f2fs: fix wrong check on F2FS_IOC_FSSETXATTR Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 014/129] f2fs: fix to avoid use-after-free in f2fs_write_multi_pages() Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 015/129] arm64: dts: librem5-devkit: add a vbus supply to usb0 Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 016/129] ARM: dts: rockchip: fix vqmmc-supply property name for rk3188-bqedison2qc Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 017/129] dmaengine: idxd: reflect shadow copy of traffic class programming Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 018/129] memory: tegra: Correct debugfs clk rate-range on Tegra20 Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 019/129] memory: tegra: Correct debugfs clk rate-range on Tegra30 Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 020/129] memory: tegra: Correct debugfs clk rate-range on Tegra124 Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 021/129] arm64: dts: allwinner: a64: Fix display clock register range Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 022/129] power: supply: bq27xxx_battery: Silence deferred-probe error Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 023/129] clk: tegra: Fix Tegra PMC clock out parents Sasha Levin
2020-04-15 11:32 ` [PATCH AUTOSEL 5.6 024/129] arm64: tegra: Add PCIe endpoint controllers nodes for Tegra194 Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 025/129] arm64: tegra: Fix Tegra194 PCIe compatible string Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 026/129] xfs: fix use-after-free when aborting corrupt attr inactivation Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 027/129] xfs: fix regression in "cleanup xfs_dir2_block_getdents" Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 028/129] arm64: dts: marvell: espressobin: add ethernet alias Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 029/129] arm64: dts: clearfog-gt-8k: set gigabit PHY reset deassert delay Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 030/129] arm64: dts: marvell: Fix cpu compatible for AP807-quad Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 031/129] soc: imx: gpc: fix power up sequencing Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 032/129] dma-coherent: fix integer overflow in the reserved-memory dma allocation Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 033/129] rtc: 88pm860x: fix possible race condition Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 034/129] NFS: alloc_nfs_open_context() must use the file cred when available Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 035/129] NFSv4/pnfs: Return valid stateids in nfs_layout_find_inode_by_stateid() Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 036/129] NFSv4.2: error out when relink swapfile Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 037/129] ARM: dts: rockchip: fix lvds-encoder ports subnode for rk3188-bqedison2qc Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 038/129] xfs: fix incorrect test in xfs_alloc_ag_vextent_lastblock Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 039/129] KVM: PPC: Book3S HV: Fix H_CEDE return code for nested guests Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 040/129] f2fs: fix to show norecovery mount option Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 041/129] drivers: thermal: tsens: Release device in success path Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 042/129] phy: uniphier-usb3ss: Add Pro5 support Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 043/129] NFS: direct.c: Fix memory leak of dreq when nfs_get_lock_context fails Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 044/129] f2fs: fix to update f2fs_super_block fields under sb_lock Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 045/129] f2fs: Fix mount failure due to SPO after a successful online resize FS Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 046/129] f2fs: Add a new CP flag to help fsck fix resize SPO issues Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 047/129] s390/cpuinfo: fix wrong output when CPU0 is offline Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 048/129] MIPS: DTS: CI20: add DT node for IR sensor Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 049/129] thermal/drivers/cpufreq_cooling: Fix return of cpufreq_set_cur_state Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 050/129] hibernate: Allow uswsusp to write to swap Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 051/129] btrfs: handle NULL roots in btrfs_put/btrfs_grab_fs_root Sasha Levin
2020-04-15 13:22   ` David Sterba
2020-04-22  0:50     ` Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 052/129] btrfs: add RCU locks around block group initialization Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 053/129] powerpc/prom_init: Pass the "os-term" message to hypervisor Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 054/129] powerpc/maple: Fix declaration made after definition Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 055/129] s390/cpum_sf: Fix wrong page count in error message Sasha Levin
2020-04-15 11:33 ` Sasha Levin [this message]
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 057/129] ext4: do not commit super on read-only bdev Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 058/129] ext4: fix incorrect group count in ext4_fill_super error message Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 059/129] ext4: fix incorrect inodes per group in " Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 060/129] um: ubd: Prevent buffer overrun on command completion Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 061/129] cifs: Allocate encryption header through kmalloc Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 062/129] x86/xen: Make the boot CPU idle task reliable Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 063/129] drm/amd/display: Don't try hdcp1.4 when content_type is set to type1 Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 064/129] dt-bindings: thermal: tsens: Fix nvmem-cell-names schema Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 065/129] platform/x86: intel-hid: fix: Update Tiger Lake ACPI device ID Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 066/129] net: phy: at803x: fix clock sink configuration on ATH8030 and ATH8035 Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 067/129] cxgb4: fix MPS index overwrite when setting MAC address Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 068/129] slcan: Don't transmit uninitialized stack data in padding Sasha Levin
2020-04-15 17:09   ` Eric W. Biederman
2020-04-15 17:22     ` Greg KH
2020-04-16  0:04       ` Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 069/129] net: qualcomm: rmnet: Allow configuration updates to existing devices Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 070/129] mm/hugetlb: fix build failure with HUGETLB_PAGE but not HUGEBTLBFS Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 071/129] net: stmmac: dwmac1000: fix out-of-bounds mac address reg setting Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 072/129] net: dsa: mt7530: fix null pointer dereferencing in port5 setup Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 073/129] tun: Don't put_page() for all negative return values from XDP program Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 074/129] mlxsw: spectrum_flower: Do not stop at FLOW_ACTION_VLAN_MANGLE Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 075/129] net: dsa: bcm_sf2: Do not register slave MDIO bus with OF Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 076/129] macsec: fix NULL dereference in macsec_upd_offload() Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 077/129] drm/nouveau/svm: check for SVM initialized before migrating Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 078/129] drm/nouveau/svm: fix vma range check for migration Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 079/129] include/linux/swapops.h: correct guards for non_swap_entry() Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 080/129] percpu_counter: fix a data race at vm_committed_as Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 081/129] linux/bits.h: add compile time sanity check of GENMASK inputs Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 082/129] compiler.h: fix error in BUILD_BUG_ON() reporting Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 083/129] KVM: s390: vsie: Fix possible race when shadowing region 3 tables Sasha Levin
2020-04-15 11:33 ` [PATCH AUTOSEL 5.6 084/129] drm/nouveau: workaround runpm fail by disabling PCI power management on certain intel bridges Sasha Levin
2020-04-15 16:11   ` Karol Herbst
2020-04-22  0:55     ` Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 085/129] leds: core: Fix warning message when init_data Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 086/129] net: dsa: bcm_sf2: Ensure correct sub-node is parsed Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 087/129] x86: ACPI: fix CPU hotplug deadlock Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 088/129] net: phy: micrel: kszphy_resume(): add delay after genphy_resume() before accessing PHY registers Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 089/129] csky: Fixup cpu speculative execution to IO area Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 090/129] net: stmmac: xgmac: Fix VLAN register handling Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 091/129] drm/amdkfd: kfree the wrong pointer Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 092/129] cxgb4: free MQPRIO resources in shutdown path Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 093/129] NFS: Fix memory leaks in nfs_pageio_stop_mirroring() Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 094/129] ACPI: Update Tiger Lake ACPI device IDs Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 095/129] csky: Fixup get wrong psr value from phyical reg Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 096/129] f2fs: compress: fix to call missing destroy_compress_ctx() Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 097/129] f2fs: fix potential .flags overflow on 32bit architecture Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 098/129] f2fs: fix NULL pointer dereference in f2fs_verity_work() Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 099/129] f2fs: fix NULL pointer dereference in f2fs_write_begin() Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 100/129] f2fs: fix potential deadlock on compressed quota file Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 101/129] ACPICA: Fixes for acpiExec namespace init file Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 102/129] ceph: re-org copy_file_range and fix some error paths Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 103/129] mfd: dln2: Fix sanity checking for endpoints Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 104/129] mfd: cros_ec: Check DT node for usbpd-notify add Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 105/129] um: falloc.h needs to be directly included for older libc Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 106/129] drm/vc4: Fix HDMI mode validation Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 107/129] iommu/virtio: Fix freeing of incomplete domains Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 108/129] iommu/vt-d: Add build dependency on IOASID Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 109/129] iommu/vt-d: Fix mm reference leak Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 110/129] SUNRPC: fix krb5p mount to provide large enough buffer in rq_rcvsize Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 111/129] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 112/129] ext2: fix empty body warnings when -Wextra is used Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 113/129] f2fs: fix to account compressed blocks in f2fs_compressed_blocks() Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 114/129] f2fs: skip GC when section is full Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 115/129] iommu/vt-d: Silence RCU-list debugging warning in dmar_find_atsr() Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 116/129] iommu/vt-d: Fix page request descriptor size Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 117/129] ovl: fix value of i_ino for lower hardlink corner case Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 118/129] ext2: fix debug reference to ext2_xattr_cache Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 119/129] sunrpc: Fix gss_unwrap_resp_integ() again Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 120/129] thermal: qoriq: Fix a compiling issue Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 121/129] csky: Fixup init_fpu compile warning with __init Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 122/129] power: supply: axp288_fuel_gauge: Broaden vendor check for Intel Compute Sticks Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 123/129] platform/chrome: cros_ec_rpmsg: Fix race with host event Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 124/129] libnvdimm: Out of bounds read in __nd_ioctl() Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 125/129] acpi/nfit: improve bounds checking for 'func' Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 126/129] iommu/amd: Fix the configuration of GCR3 table root pointer Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 127/129] f2fs: fix leaking uninitialized memory in compressed clusters Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 128/129] f2fs: fix to wait all node page writeback Sasha Levin
2020-04-15 11:34 ` [PATCH AUTOSEL 5.6 129/129] platform/chrome: cros_ec: Query EC protocol version if EC transitions between RO/RW Sasha Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200415113445.11881-56-sashal@kernel.org \
    --to=sashal@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=liwei.song@windriver.com \
    --cc=stable@vger.kernel.org \
    --cc=trond.myklebust@hammerspace.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).