Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp414400rwb; Wed, 14 Dec 2022 19:43:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf7vqEazkrEbL239NC57O0kItw0bWBclqleoxLMjeoY1S69eyCVp9eD5VQXbuVmSkDU1Gzqj X-Received: by 2002:a17:90b:1d10:b0:213:853a:83fc with SMTP id on16-20020a17090b1d1000b00213853a83fcmr27746992pjb.29.1671075786396; Wed, 14 Dec 2022 19:43:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671075786; cv=none; d=google.com; s=arc-20160816; b=U7VfEhSjlVicQIwRdJxU4dR+BKiGmL0I8uBR4+lgy/bVTkIn9Bu38H4+FnlCEfeA4O Rz+jDunEKLksNa61erzFj/Ut+S3vAgQtKdGvp4GD197MBN/1AlUSVuD4tWU/p17QdJzf jLVgC8eNQzjs6STLZ80yTsdMt7/smal6kxsUZUaF11gVVYjZ9Jh71Xcxaq/LHJ2NrHoh JtoTsa+mfaOszkm7QCK6bgz6o7nMMJjuSxrC6A6lPXho4B/uIGjl10UhdZ4f5QQ1DOYQ AunZGd2WJlW/hXAKhyV8RlEsEiaX8PLnhLIi25jKWx7dh+G5HBfuBJUd+QhSyPQl3KGX FCKg== 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=dioFLbEOGxQ1WnnPJFiBEKHGM2mIWuscar3MU6PY/Qc=; b=lgMvauTAeGrCUGDyzOl3ZjHm9deB1Kg+kcBpg6MhVHLANh0L+BYRCV3mHVEeyEJqCd F7v0OyUqMD0p+TzIJi2mnerpcwiQE/LzOHELfpaqCHYEIhGZwZnN5bbdMrD03GJyVHTO 4KdSnFVDue63XQRP1ihWgaDvMDLezXRnee7qGLrdpTNDAcHBEztHJIy9yj/6yDpZPpnF Wd7LIn8lBScrlvOZwpPJjzTw1q07DIUAJZaxI9k8LvYx2MpaC/BfSdeRzPfEt/YicGZ4 NKm6ZNQE17l0cx5GxEkILzYz23X58s87uq6PQHZEA7gHQwHAzbXQQyhmf6QdggkVBcAP imRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="YK/UjZC/"; 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 i32-20020a632220000000b004626957c3c7si1671482pgi.193.2022.12.14.19.42.57; Wed, 14 Dec 2022 19:43:06 -0800 (PST) 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="YK/UjZC/"; 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 S229632AbiLODSa (ORCPT + 69 others); Wed, 14 Dec 2022 22:18:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbiLODS2 (ORCPT ); Wed, 14 Dec 2022 22:18:28 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDCCD2C674; Wed, 14 Dec 2022 19:18:27 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id c1so13642116lfi.7; Wed, 14 Dec 2022 19:18:27 -0800 (PST) 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=dioFLbEOGxQ1WnnPJFiBEKHGM2mIWuscar3MU6PY/Qc=; b=YK/UjZC/8oLSXcDlx9PRbvxoLHvIo7kfSpSp05f9bl6ZgAYf+S+bTzzVMDmJkuQLgq I/L9aj+abPTM5wdNO5YpO6Y2p3Jagtt2N4iOlbxTFuyoz9m7MpH+LxSmHkpKbvRznERG qr1f22XsZhu4t2hfPEWARsboeAccKGDk7RquereIirSJurxLYeBiLrSV9Gn/IgD/hy/V lH4QZWKbuQ/UWRJrf7JuQUlXtz7y/AWFT0/AYrzQ15m5bdyO0c5ya7kj+4uiKkNUlzl/ JFotnApLUuOvmTwCbybnPLslpG/NQGuaL8LWiB2lKBxLyfLbTBMgDI4Oaik8cZ9REWB0 RW6Q== 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=dioFLbEOGxQ1WnnPJFiBEKHGM2mIWuscar3MU6PY/Qc=; b=dcF4XmdRf4315/+dTAPS3XYgz4+u0JovfXzDZ1gn3fGVLkzcJw+JgRYXsawYi3EqUm 61edjhDheKeOagQDV9rfHBFLU6SnJlJo4Hi5ZFrsKbddVquPE1o52hdIDSvDXz2oRtFS B+3REPp3OicBp8HLwVnwABZ4OrZMe2uEt8gdr23gGgi3tBc5/tO9ZNIiE4i2HomR47fq ZHX9p72Cmh3UjOAjcuOusAGdv9PQyoGX23/O6MLlNzN6f13+bUu2ztbhf+DJMoRlnk0q fF/mKLr1V1UDIyZiG4ZhMrL40TeExoh16go+9/kOFWhEqbrk7Qpw8G+oWJ4eelob9Hd7 uEXw== X-Gm-Message-State: ANoB5pmd13z/CBD0SIeyoayqRQtBt7NFiyNzQEOW8IRFRYjOzbTyCx/q y+iPORWZgPc3hFNcTQCjnyPkDTSG17njk4g6tnliSVin06g= X-Received: by 2002:a19:5f03:0:b0:4a2:67ea:a06 with SMTP id t3-20020a195f03000000b004a267ea0a06mr31870920lfb.580.1671074305968; Wed, 14 Dec 2022 19:18:25 -0800 (PST) MIME-Version: 1.0 From: Steve French Date: Wed, 14 Dec 2022 21:18:14 -0600 Message-ID: Subject: [GIT PULL] ksmbd server fixes To: Linus Torvalds Cc: Namjae Jeon , 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 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 76dcd734eca23168cb008912c0f69ff408905235: Linux 6.1-rc8 (2022-12-04 14:48:12 -0800) are available in the Git repository at: git://git.samba.org/ksmbd.git tags/6.2-rc-ksmbd-server-fixes for you to fetch changes up to 72ee45fd46d0d3578c4e6046f66fae3218543ce3: ksmbd: Convert to use sysfs_emit()/sysfs_emit_at() APIs (2022-12-11 08:33:32 -0600) Note that this P/R includes one commit ("ksmbd: replace one-element arrays with flexible-array members") which you just merged from a different unrelated P/R a few days ago. Let me know if you want me to rebase the ksmbd tree and resend the server P/R. I can also send the client (cifs.ko) P/R tomorrow if it is easier but have been working on testing some important fixes which are not in linux-next yet, so not sure if it is easier to send the client fixes as two P/Rs, or wait and send the client fixes all together as one P/R later in the merge window. ---------------------------------------------------------------- six ksmbd server fixes: - two resource leak fixes - two cleanup - a file unlock fix - a fix for configuring packet encryption properly ---------------------------------------------------------------- Gustavo A. R. Silva (1): ksmbd: replace one-element arrays with flexible-array members Jeff Layton (1): ksmbd: use F_SETLK when unlocking a file Marios Makassikis (1): ksmbd: Fix resource leak in smb2_lock() Namjae Jeon (1): ksmbd: set SMB2_SESSION_FLAG_ENCRYPT_DATA when enforcing data encryption for this share Xiu Jianfeng (1): ksmbd: Fix resource leak in ksmbd_session_rpc_open() ye xingchen (1): ksmbd: Convert to use sysfs_emit()/sysfs_emit_at() APIs fs/ksmbd/ksmbd_netlink.h | 1 + fs/ksmbd/mgmt/user_session.c | 8 +++++--- fs/ksmbd/server.c | 20 ++++++-------------- fs/ksmbd/smb2ops.c | 10 ++++++++-- fs/ksmbd/smb2pdu.c | 20 +++++++++++++------- fs/ksmbd/smb2pdu.h | 2 +- fs/ksmbd/smb_common.h | 12 ++++++------ 7 files changed, 40 insertions(+), 33 deletions(-) -- Thanks, Steve