Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2617531rwi; Sat, 15 Oct 2022 18:16:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ZczlAE7IxGDjUGAq6LOT5vZDTes9+R3KQPWQIMcWdpN82g+A3o23ZHfC3pEs6ZrmvZlJw X-Received: by 2002:a17:907:3f27:b0:78d:ad42:f733 with SMTP id hq39-20020a1709073f2700b0078dad42f733mr3793896ejc.320.1665882961222; Sat, 15 Oct 2022 18:16:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665882961; cv=none; d=google.com; s=arc-20160816; b=vC5INvx0rxF0Vu7wIliHErpbVlZWq4FHNo1AyCAeZskHECEloyGFn0gs5xEdpjs/LH kalmz9EzzO07ME7AXka6o8ggE+V45Y9C4LmSB9cNmv110NniD6vGD5R8kDoepOPUOiEI 4ahcZgFe5SLA8/fJheSwTDbbfFwh/iRPXx8XU3slCMOSsEb8xnuYEcQCGBTYDPbiGCoi uPcFSWN+Md7RE0Pqz/yBcS0CUH816LBb85jhupUnwCk4Li5Q3E9isN3fGOxWkBBE1EgN 0Vf6FaHaoSzIqNXx8QNiM6NI+PrHEQtlDZ4s8pOsmaYt87GONGSe41CRhbqoufHEwoMA gRDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=UDacUmmZ7HxWAj/1LVMZcfDqYikzx/CSXHqsj+KHPVE=; b=anlKTVzYp2QePu6gkYWADKadODOJSS1+igcWmVZxS2aDEC2jj2lxdoGFAmMk8U+DVB +XB/pzQI9GclDSt7oXJmNjoj4edExyG3aG2f6Tc6PRa2mRW8cCgkYUfFAArY0nJLNrEK npAzlWV2psCabJ1uT5bxdXI0NYVA7Lu/84jDl92Hfii9yLmOIbaY59NK+xw4G42jvavC 6O+D6QfrRcqWKg69t8pw2sLy2+fj+h9VQJV6rdiCra5FtMQk6YvN5wgmHSnT0UKgVWro JEn0dRwCXMVLjZBJ4yusFmXOHTk1b/Jfmgll0mcP8AZ21dxJQ3bPQES+3eVAdpJ7ItvN 6FyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="ngQx/7eP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bq3-20020a056402214300b0044f2eb2de9asi5226396edb.444.2022.10.15.18.15.36; Sat, 15 Oct 2022 18:16:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="ngQx/7eP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229579AbiJPAdY (ORCPT + 99 others); Sat, 15 Oct 2022 20:33:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229554AbiJPAdU (ORCPT ); Sat, 15 Oct 2022 20:33:20 -0400 Received: from mail-ua1-x92f.google.com (mail-ua1-x92f.google.com [IPv6:2607:f8b0:4864:20::92f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A39DD3C171; Sat, 15 Oct 2022 17:33:19 -0700 (PDT) Received: by mail-ua1-x92f.google.com with SMTP id j6so3199159uaa.10; Sat, 15 Oct 2022 17:33:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=UDacUmmZ7HxWAj/1LVMZcfDqYikzx/CSXHqsj+KHPVE=; b=ngQx/7ePtLMoj/u1KOM/dqo0atMEUjEQWawWTtHCT6VN2bFcek7EXbXZFZQiLA4lSh UK6HQeUH6o12dNoQFp8kOIhjvrZmBVa8oksueWT8MzFJl2/C0wC4QYUrQchmsD1SfgzX xxGcOy/scXwgw8VNwIoAeuXZPcs22g9QOUtIFRCrhjCuJ+cAm15IkBxF0FySWRU//s5B 8XHD5t8pBAVhhHba63OFBdA60X2TQ/6osZnmwpQhdQJc2ZlKgwvExTuoBJFNyNS8VAn3 QtLSrEUH0DUal3BSnN1wK3EhVqOBoFzTrPJ4iwYpA9G4qGmdmg6xVUZTnahpwIj31twS yY4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=UDacUmmZ7HxWAj/1LVMZcfDqYikzx/CSXHqsj+KHPVE=; b=AUgyVCHyvjuRmqtqGDStbZUCK2VH6YoUWPCvgF8ZjIzI50+DQ9RdDd0lQVbHxui87q W4aHr++D6rXm/qCH2FIhmKVauhPGibDngy/SXFHzo7mLWvYw+DAzR3JHQdA01rcvBXFo HaEvL/UoaPEnlxbr2vEwk56xLC4cNb881Ojy3+c+dJ0aQngbXuW8fzqjEfNa45gHZJm+ 6xD7jsgZypZQ1lmbBYDVr64AdgJZMyoYlz4gX57tFD0Q+sARTlMzTy1+3sn74rc4hI5w BGo2ziVeV8y3DfFunHRYx5Un3q8MrnbSARxkxrOaoC6sMaQl5CdHD1yfXG+o8CcC0OOh o3Gw== X-Gm-Message-State: ACrzQf0dRXcyo9S/DPd1LE/XpbpdUrhoFe4z1IUqbbmxVfJhXWpVVoJ4 tlhNrp075bfT66JxQ+SQhnBKolRdwmO37MY8hHFDhshGhuY= X-Received: by 2002:ab0:6f93:0:b0:3d7:b9af:39d4 with SMTP id f19-20020ab06f93000000b003d7b9af39d4mr1856092uav.84.1665880398635; Sat, 15 Oct 2022 17:33:18 -0700 (PDT) MIME-Version: 1.0 From: Steve French Date: Sat, 15 Oct 2022 19:33:08 -0500 Message-ID: Subject: [GIT PULL] smb3 client fixes To: Linus Torvalds Cc: LKML , CIFS Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Please pull the following changes since commit ac1e8c6c95bf805c699656046aef0a05205edfbd: Merge tag '6.1-rc-smb3-client-fixes-part1' of git://git.samba.org/sfrench/cifs-2.6 (2022-10-10 20:04:22 -0700) are available in the Git repository at: git://git.samba.org/sfrench/cifs-2.6.git tags/6.1-rc-smb3-client-fixes-part2 for you to fetch changes up to e3e9463414f610e91528f2b920b8cb655f4bae33: smb3: improve SMB3 change notification support (2022-10-15 10:05:53 -0500) ---------------------------------------------------------------- 15 cifs/smb3 fixes including 2 for stable - fix a regression in guest mounts to old servers - improvements to directory leasing (caching directory entries safely beyond the root directory) - symlink improvement (reducing roundtrips needed to process symlinks) - an lseek fix (to problem where some dir entries could be skipped) - improved ioctl for returning more detailed information on directory change notifications - clarify multichannel interface query warning - cleanup fix (for better aligning buffers using ALIGN and round_up) - a compounding fix - fix some uninitialized variable bugs found by Coverity and the kernel test robot ---------------------------------------------------------------- Enzo Matsumiya (1): cifs: use ALIGN() and round_up() macros Paulo Alcantara (5): cifs: improve symlink handling for smb2+ cifs: fix uninitialised var in smb2_compound_op() cifs: prevent copying past input buffer boundaries cifs: fix static checker warning cifs: fix double-fault crash during ntlmssp Ronnie Sahlberg (4): cifs: fix skipping to incorrect offset in emit_cached_dirents cifs: fix regression in very old smb1 mounts cifs: enable caching of directories for which a lease is held cifs: find and use the dentry for cached non-root directories also Steve French (5): smb3: clarify multichannel warning smb3: must initialize two ACL struct fields to zero cifs: lease key is uninitialized in smb1 paths cifs: lease key is uninitialized in two additional functions when smb1 smb3: improve SMB3 change notification support fs/cifs/cached_dir.c | 469 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------ fs/cifs/cached_dir.h | 20 ++-- fs/cifs/cifs_ioctl.h | 8 ++ fs/cifs/cifsfs.c | 9 +- fs/cifs/cifsglob.h | 48 +++++++--- fs/cifs/cifsproto.h | 13 ++- fs/cifs/cifssmb.c | 2 +- fs/cifs/connect.c | 22 +++-- fs/cifs/dir.c | 32 +++---- fs/cifs/file.c | 45 ++++----- fs/cifs/inode.c | 176 +++++++++++++++++++++-------------- fs/cifs/ioctl.c | 25 ++++- fs/cifs/link.c | 107 +-------------------- fs/cifs/readdir.c | 31 +++++-- fs/cifs/sess.c | 34 +++---- fs/cifs/smb1ops.c | 56 ++++++----- fs/cifs/smb2file.c | 127 ++++++++++++++++++++----- fs/cifs/smb2inode.c | 170 +++++++++++++++++---------------- fs/cifs/smb2misc.c | 2 +- fs/cifs/smb2ops.c | 149 +++++++++++------------------ fs/cifs/smb2pdu.c | 75 +++++++++------ fs/cifs/smb2pdu.h | 3 + fs/cifs/smb2proto.h | 25 +++-- 23 files changed, 922 insertions(+), 726 deletions(-) -- Thanks, Steve