From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 476E92E6137 for ; Tue, 12 Aug 2025 11:54:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754999664; cv=none; b=XuCtz2I6zvqp5fe2L66ivD0Jl/hX9t804aGGS1oYnoVA6kK1B4Um0Knq1+AhW3IxECChfUgk41dJr/mLJSt4ml4vJssL6JNwddVIdm6raFshep2qcMk/BBJ/A1xLqJLlcGFZktabBVOK24SLPRC/Pd/amXl3tOMkKRE2IOC50ew= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754999664; c=relaxed/simple; bh=rc3diGFY4xL4W5o0q6YgHCgwM5/c2oP0Nvs9X27qj1k=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=C5uNhjtfVKOKXRL80436kVd6Sx/LZazN0rWQ+lwRi1CVA8/OUiOyMWfSVryIE1wKQ+7ndRpA54NgMPs2Fqqb6oOKsj7XAO40OfZUq3Xyvz7XhBBeEE2S2uw7qvpBMncpY/VGDwVNOJibjxmrMmAmel0+zgAZzhRPJWXV7uIdtT8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=K0Y55paz; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="K0Y55paz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E12DC4CEF0; Tue, 12 Aug 2025 11:54:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1754999663; bh=rc3diGFY4xL4W5o0q6YgHCgwM5/c2oP0Nvs9X27qj1k=; h=Subject:To:Cc:From:Date:From; b=K0Y55paz+t4UiaS634rAj1t94nNqby7Dli8yVqDyHQA99QtI2ei2q6tW5rsgI9psy gt1nwVCLSUR963cSZDu/HluIRsakXZg9Bt1+xxjfFY16UCk/ODeWB0nLhBmvN5sttN KsPzkrDmDzX4mNlkQ2WzWxfo/oydCn8uLYQAgQYM= Subject: FAILED: patch "[PATCH] smb: client: default to nonativesocket under POSIX mounts" failed to apply to 6.1-stable tree To: pc@manguebit.org,dhowells@redhat.com,m.richardson@ed.ac.uk,slow@samba.org,stable@vger.kernel.org,stfrench@microsoft.com Cc: From: Date: Tue, 12 Aug 2025 13:54:20 +0200 Message-ID: <2025081220-superbowl-aerospace-880f@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 6.1-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.1.y git checkout FETCH_HEAD git cherry-pick -x 6b445309eec2bc0594f3e24c7777aeef891d386e # git commit -s git send-email --to '' --in-reply-to '2025081220-superbowl-aerospace-880f@gregkh' --subject-prefix 'PATCH 6.1.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 6b445309eec2bc0594f3e24c7777aeef891d386e Mon Sep 17 00:00:00 2001 From: Paulo Alcantara Date: Thu, 31 Jul 2025 20:46:42 -0300 Subject: [PATCH] smb: client: default to nonativesocket under POSIX mounts SMB3.1.1 POSIX mounts require sockets to be created with NFS reparse points. Cc: linux-cifs@vger.kernel.org Cc: Ralph Boehme Cc: David Howells Cc: Reported-by: Matthew Richardson Closes: https://marc.info/?i=1124e7cd-6a46-40a6-9f44-b7664a66654b@ed.ac.uk Signed-off-by: Paulo Alcantara (Red Hat) Signed-off-by: Steve French diff --git a/fs/smb/client/fs_context.c b/fs/smb/client/fs_context.c index cc8bd79ebca9..072383899e81 100644 --- a/fs/smb/client/fs_context.c +++ b/fs/smb/client/fs_context.c @@ -1652,6 +1652,7 @@ static int smb3_fs_context_parse_param(struct fs_context *fc, pr_warn_once("conflicting posix mount options specified\n"); ctx->linux_ext = 1; ctx->no_linux_ext = 0; + ctx->nonativesocket = 1; /* POSIX mounts use NFS style reparse points */ } break; case Opt_nocase: