Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81E68C433F5 for ; Mon, 21 Mar 2022 22:45:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229608AbiCUWqz (ORCPT ); Mon, 21 Mar 2022 18:46:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229515AbiCUWqx (ORCPT ); Mon, 21 Mar 2022 18:46:53 -0400 Received: from mx.cjr.nz (mx.cjr.nz [51.158.111.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA06B53B6A for ; Mon, 21 Mar 2022 15:25:27 -0700 (PDT) Received: from authenticated-user (mx.cjr.nz [51.158.111.142]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pc) by mx.cjr.nz (Postfix) with ESMTPSA id 5EBEB80851; Mon, 21 Mar 2022 21:48:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cjr.nz; s=dkim; t=1647899301; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FXngWJf7dXxQe5JOlNQu50Iqt56XKa7D6ScEImNdBGk=; b=kQZsLn4snovOblN8+tRRt6C3jm818R/4keoxUucKS1NJEpuLAJQV41p2keHEc5LIWN9kVo mztz21MrwNjnUxGp8mADqgeCeT3zu/iqblVeCmUYZ52swbwg4jageOCtlYfNrA1EiixMQq VYEGAahYAiELUoW48w4dVVcUIV7DxivcnJvdR762BuSuaRL41aMj+QETyVutJDN5o14xng 0a7zua/EOyohT0m5dtkakt+AyvXSBpsLUnQW1kempC17wigKUU3TAwr/ix5pttEgtvrtiP fMOgBCOP1FEW2vDWLM6Q7xNCGMbMXAv7kHEbPXZTrMT0yrDadFjBzN6cGLCn2w== From: Paulo Alcantara To: Tom Talpey , linux-cifs@vger.kernel.org, smfrench@gmail.com, linkinjeon@kernel.org Subject: Re: [PATCH 1/2] cifs: fix bad fids sent over wire In-Reply-To: <4fae4d1a-b6b0-d212-61fa-a6d6df8f2b6b@talpey.com> References: <20220321160826.30814-1-pc@cjr.nz> <4fae4d1a-b6b0-d212-61fa-a6d6df8f2b6b@talpey.com> Date: Mon, 21 Mar 2022 18:48:16 -0300 Message-ID: <87zgljt1sv.fsf@cjr.nz> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org Tom Talpey writes: > I agree this is the most practical way to address the issue, and > any potential static checker warnings. > > Have you tested on both endian clients I assume? Might be tricky > to catch all the ops/cases, especially that cancel. I did some quick tests on x86_64 and s390x under QEMU against Windows 2022 server and ksmbd and all seemed to work. Hopefully Steve & Namjae can also help with more tests. > Reviewed-By: Tom Talpey Thanks!