Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1628348iog; Sat, 25 Jun 2022 14:55:33 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sj53/j42Gfa5ezeTHBwtDn0imdRLlbAmUCKYsPg4/+X/hLNspjJLv98OAP8jqOfDNBbHY4 X-Received: by 2002:a17:903:1211:b0:168:e42f:86ff with SMTP id l17-20020a170903121100b00168e42f86ffmr6306773plh.112.1656194133467; Sat, 25 Jun 2022 14:55:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656194133; cv=none; d=google.com; s=arc-20160816; b=OCCVRoZaX/3Hq7jy81GSo0pdhtZ9BiT2YqyHs2J7LtgkXHf/0KZX4Arl92WgF+n6ks y5sYBaqXe890WEE0AKRU8wEUBMlY+DhtNs3K9dCq043W0EMrUBpU4na4CiIJTLFqPBMd 6Q5NNG/SjknsKBkiLLJ+V3YAnLY2d/s9abvXvA9fUG03rnffNHIllw7Del0MfMnC+KNt SnAFpd0kXhaIxCnSbw0JkMtzbMOPsvJOsVuWE/h2C6wFIoSKv1X2jemTvsIlwVodQBSr MzRq+Pz3g/w37PdbVuFWgQpf2JPN1mYyiEHMZzyL83VF7WiZgkdU5qg7m04z+AvGl6QV y5Sw== 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=BbwHVtDC3wfcy6qW4/JHuwflwwFO4Gor8K2bRgHCz+8=; b=uwznJXCdNmTAGYr9FpQb6H8kn5hbswzg+TOoDs9rigb0fP6DiiTgUvINPbo3yFDFnM vP3YwxYcKGE24LqgcpukcjeQ05Xl+XluiT8Fmkl0Mw79G8Y+RMCLFf2D75q2xpFrAmNN IYL4RKOepNMPe4FjNJNwFuHtdPPoEDLQfT20jvM5Us+KbvnhzidAanmmWI6injtk5V/f nKUWaLenfP8bqmRZf8Fk+LTx3hdH966guLcecpET4aGtOruVl1DPxyknAkMecuYs+h7K OpB/FXEE9oQshC+JhvaxcA5zw0qIjpqnrXGL/nB3MmD2l/sZfcgOo7Jm1sjh3puEW+HT MGCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=S1MmapeV; 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 v135-20020a63618d000000b003fd8a13f195si8337183pgb.76.2022.06.25.14.54.50; Sat, 25 Jun 2022 14:55:33 -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=S1MmapeV; 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 S233430AbiFYVix (ORCPT + 99 others); Sat, 25 Jun 2022 17:38:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230116AbiFYViw (ORCPT ); Sat, 25 Jun 2022 17:38:52 -0400 Received: from mail-vk1-xa2b.google.com (mail-vk1-xa2b.google.com [IPv6:2607:f8b0:4864:20::a2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7C6613DFB; Sat, 25 Jun 2022 14:38:51 -0700 (PDT) Received: by mail-vk1-xa2b.google.com with SMTP id b5so2781756vkp.4; Sat, 25 Jun 2022 14:38:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to:cc; bh=BbwHVtDC3wfcy6qW4/JHuwflwwFO4Gor8K2bRgHCz+8=; b=S1MmapeV/AyncM6GanNSYWXsaV4c0+KCrMjMK+C2iOhSN9FT0RJEr3FRKge83XEyhu a8qDLOSi3NV6SM3C7vLJKwJSlvXassSK5VDPy6/l+wB1l9Rk1GN3rdCYBdQPVQIX7vR4 9ra7p/UEs+0ivkazpQQa3eeJ0+yRVHmx33Kk7rmF5Hd5V8xANCVMGjntJ3Qa9WUdtvGj VlV9i4E90if2tsQozbMB3kk+XD3l8d0NeUnCXnBI+Ttrw+n6oNjl9AS1LKF0UITWzeD8 wqvrbS32eihR5CDVXP3ufvalr4Vzz4z303vVdNkmib+J9qTql9k1xt0krkpmSg3feRDv ZcQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=BbwHVtDC3wfcy6qW4/JHuwflwwFO4Gor8K2bRgHCz+8=; b=y7dOvikfkKny4cT8/X8UwpcTqJB78lY7zUu4ufm2kcSLTOerM/wQ1RWLsrc8NDAHlB QO6LeLnDWR/l4+EjTjIeco3IjzfLqUPTBfFYQ550A3PICGBWgaazyMZmvpoFnn6xqPBN I3T1Y6q53B+51iOpTqEPRlxUDIZuMpZATLzNl6ECAT/KFrHBid4bS993R+xcN5vw+8LB SnvGrN/NiMbGt3AS2bxFQo/HlbVfptFZR8XAvrQVspblxry22BHUCCCOykQj0Lg6usqC 0urukCz5OtwsQvS7TAX+dIknfJyJQWqjNQBtUvjTfO0Yx6sDivwVLra3DOutvSJFVL0z ZGRg== X-Gm-Message-State: AJIora8P/NyVsrGwipMWJFID4ugeiuNYUxI/wZ1FcIqtI6Qc+QKwcXRZ y3p7A702ejZjnT0ChrWJYHZAiMUuDUhWJhXYwvOF8mdTtrg= X-Received: by 2002:a1f:45d2:0:b0:36b:fa17:d542 with SMTP id s201-20020a1f45d2000000b0036bfa17d542mr2093543vka.4.1656193130687; Sat, 25 Jun 2022 14:38:50 -0700 (PDT) MIME-Version: 1.0 From: Steve French Date: Sat, 25 Jun 2022 16:38:40 -0500 Message-ID: Subject: [GIT PULL] SMB3 client fixes To: Linus Torvalds Cc: CIFS , LKML 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,T_SCC_BODY_TEXT_LINE 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 a111daf0c53ae91e71fd2bfe7497862d14132e3e: Linux 5.19-rc3 (2022-06-19 15:06:47 -0500) are available in the Git repository at: git://git.samba.org/sfrench/cifs-2.6.git tags/5.19-rc3-smb3-client-fixes for you to fetch changes up to af3a6d1018f02c6dc8388f1f3785a559c7ab5961: cifs: update cifs_ses::ip_addr after failover (2022-06-24 13:34:28 -0500) ---------------------------------------------------------------- 7 SMB3 fixes, addressing important multichannel, reconnect issues. Multichannel mounts when the server network interfaces changed, or ip addresses changed, uncovered problems, especially in reconnect, but the patches for this were held up until recently due to some lock conflicts that are now addressed. Included in this set of fixes: - 3 fixes relating to multichannel reconnect, dynamically adjusting the list of server interfaces to avoid problems during reconnect - a lock conflict fix related to the above - 2 important fixes for negotiate on secondary channels (null netname can unintentionally cause multichannel to be disabled to some servers) - a reconnect fix (reporting incorrect IP address in some cases) ---------------------------------------------------------------- Paulo Alcantara (1): cifs: update cifs_ses::ip_addr after failover Shyam Prasad N (5): smb3: use netname when available on secondary channels cifs: change iface_list from array to sorted linked list cifs: during reconnect, update interface if necessary cifs: periodically query network interfaces from server cifs: avoid deadlocks while updating iface Steve French (1): smb3: fix empty netname context on secondary channels fs/cifs/cifs_debug.c | 12 ++-- fs/cifs/cifsglob.h | 58 ++++++++++++++++- fs/cifs/cifsproto.h | 7 +++ fs/cifs/connect.c | 59 ++++++++++++++++-- fs/cifs/misc.c | 9 ++- fs/cifs/sess.c | 166 +++++++++++++++++++++++++++++++++++++----------- fs/cifs/smb2ops.c | 173 +++++++++++++++++++++++++++------------------------ fs/cifs/smb2pdu.c | 21 +++++-- 8 files changed, 366 insertions(+), 139 deletions(-) -- Thanks, Steve