Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8812065rwr; Thu, 11 May 2023 06:36:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5UezTa788EuyHlncxGwAo2cs+/Bqzz0oPAGX42Cud3OT3UFfmoop7DWVgtFE9XIvIaUYEL X-Received: by 2002:a17:90a:1d4b:b0:24b:2b9a:7fd2 with SMTP id u11-20020a17090a1d4b00b0024b2b9a7fd2mr21618663pju.9.1683812200891; Thu, 11 May 2023 06:36:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683812200; cv=none; d=google.com; s=arc-20160816; b=PPg2VRrNv0oU5UgqKaSq18hPW9U1xPDsLoXIBTXlLCFbuG8alWP26FjvykidHvcWLv rm+Qs5wSDYVtvi5tFtXXKuUeG/wZ8EDuqagyV35/RuK9hs1ALVith58ZsoV3NEQNJWwC MKIaUUPAQxMien7YhP87PLPMjudRQeZOOdMmgP1BgXOs4MOU02yn/QVYmJ8XhbCau1Mu yX+Z1sy2jcXJJ9aPIagfWuLMPb0Uss01Q11tVEk5w1Qb+lLTiYrGlNnEM30iNBaXuIhC MvfBpLur9j8TIbpEi3vdhNkmF377R+FBwUqiDuylKJAzEN3VbTd9eK2vZdW5TqTMofeh sMCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=Q9Gw89LsVWDXknjK9wsazx8tUQuttNJKAyf5DBRTkFo=; b=YwC7vE6Cbw3dxMOrAgsmBCLgbJ9sODmlFUH7OVrqMEdVI2Ee8Wu3WtzrjacUcSPST5 S7dWKn4YVf9vLmMOcoSDcZIJ1cxcC2tl22DZNTcwBOgX9expkYCySb13mxApKPM7uxDT UXxx0Cxf1jWbbpe+tNvyp8mvsB9wyCRKQmNr116KC9NdklnjVWpyunN5Dx8HJtD/Op74 G5+E2FvlUsQmt7sRBs4soRfVThT1htduDq6T9NnIc8oh4LPQ23d6zXV7hUZ6xrx/GrjN VZWTj/aNhGYGoZoX0hKjz3XZ/sXWkeUbSr7VDSS1zMfSJP/FU0GUPrRuE6B3BoVgxPhN Pcyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=b6bRdGzs; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mw14-20020a17090b4d0e00b002467eaf62e0si20263944pjb.178.2023.05.11.06.36.28; Thu, 11 May 2023 06:36:40 -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=@suse.com header.s=susede1 header.b=b6bRdGzs; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238344AbjEKNd6 (ORCPT + 99 others); Thu, 11 May 2023 09:33:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238135AbjEKNd1 (ORCPT ); Thu, 11 May 2023 09:33:27 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8C222700; Thu, 11 May 2023 06:32:35 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id BF6071FEB4; Thu, 11 May 2023 13:32:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1683811953; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Q9Gw89LsVWDXknjK9wsazx8tUQuttNJKAyf5DBRTkFo=; b=b6bRdGzsaAVEankWlRffwcd9ratTCqqyuX/vw1ZZrCqLC0Ohw5AUN+JMiTQvFjX/CBqVTI 3kXFKPPRA7S2M76RWpS8fqo1xdLTePW+dv00l0zk/o3HBe73/aIU71esF6TsCtaviPg8RI qgR5dWJWjqT9vP1G29RdyovDvK2eYTU= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 89E18138FA; Thu, 11 May 2023 13:32:33 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id /UAaIHHuXGQEKQAAMHmgww (envelope-from ); Thu, 11 May 2023 13:32:33 +0000 Message-ID: <45d127c4-71e9-2959-b69c-d31c46ec721e@suse.com> Date: Thu, 11 May 2023 15:32:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH] scsi: Let scsi_execute_cmd() mark args->sshdr as invalid Content-Language: en-US To: Martin Wilck , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Cc: "James E.J. Bottomley" , "Martin K. Petersen" , stable@vger.kernel.org References: <20230511123432.5793-1-jgross@suse.com> <095a2264120ad51d0500c4ce8221be2f88a9537e.camel@suse.com> <85a7dc28-74ec-f4d6-b5c3-ca456ce9d380@suse.com> From: Juergen Gross In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------AmTzaEmwjNDFarnUqUcdU2He" X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, 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 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------AmTzaEmwjNDFarnUqUcdU2He Content-Type: multipart/mixed; boundary="------------8VleNbXuViHE90YbagetCfNQ"; protected-headers="v1" From: Juergen Gross To: Martin Wilck , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Cc: "James E.J. Bottomley" , "Martin K. Petersen" , stable@vger.kernel.org Message-ID: <45d127c4-71e9-2959-b69c-d31c46ec721e@suse.com> Subject: Re: [PATCH] scsi: Let scsi_execute_cmd() mark args->sshdr as invalid References: <20230511123432.5793-1-jgross@suse.com> <095a2264120ad51d0500c4ce8221be2f88a9537e.camel@suse.com> <85a7dc28-74ec-f4d6-b5c3-ca456ce9d380@suse.com> In-Reply-To: --------------8VleNbXuViHE90YbagetCfNQ Content-Type: multipart/mixed; boundary="------------ZCDTGmwg4WcLL3ym70Z0wmG0" --------------ZCDTGmwg4WcLL3ym70Z0wmG0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMTEuMDUuMjMgMTU6MjMsIE1hcnRpbiBXaWxjayB3cm90ZToN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ICAkMHgwLCglcmR4KQ0KDQpBIHN0cnVjdCB3aXRoIDggInU4IiBmaWVs ZHMgY2FuIGJlIHVuYWxpZ25lZC4NCg0KeDg2XzY0IGNhbiBkbyB1bmFsaWduZWQgOC1ieXRl IHN0b3Jlcy4NCg0KT3RoZXIgYXJjaGl0ZWN0dXJlcyBjYW4ndCAoZS5nLiBNSVBTKS4gQW5k IDMyLWJpdCBhcmNoaXRlY3R1cmVzIG1pZ2h0IG5lZWQNCjIgc3RvcmVzLg0KDQoNCkp1ZXJn ZW4NCg== --------------ZCDTGmwg4WcLL3ym70Z0wmG0 Content-Type: application/pgp-keys; name="OpenPGP_0xB0DE9DD628BF132F.asc" Content-Disposition: attachment; filename="OpenPGP_0xB0DE9DD628BF132F.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xsBNBFOMcBYBCACgGjqjoGvbEouQZw/ToiBg9W98AlM2QHV+iNHsEs7kxWhKMjri oyspZKOBycWxw3ie3j9uvg9EOB3aN4xiTv4qbnGiTr3oJhkB1gsb6ToJQZ8uxGq2 kaV2KL9650I1SJvedYm8Of8Zd621lSmoKOwlNClALZNew72NjJLEzTalU1OdT7/i 1TXkH09XSSI8mEQ/ouNcMvIJNwQpd369y9bfIhWUiVXEK7MlRgUG6MvIj6Y3Am/B BLUVbDa4+gmzDC9ezlZkTZG2t14zWPvxXP3FAp2pkW0xqG7/377qptDmrk42GlSK N4z76ELnLxussxc7I2hx18NUcbP8+uty4bMxABEBAAHNHEp1ZXJnZW4gR3Jvc3Mg PGpnQHBmdXBmLm5ldD7CwHkEEwECACMFAlOMcBYCGwMHCwkIBwMCAQYVCAIJCgsE FgIDAQIeAQIXgAAKCRCw3p3WKL8TL0KdB/93FcIZ3GCNwFU0u3EjNbNjmXBKDY4F UGNQH2lvWAUy+dnyThpwdtF/jQ6j9RwE8VP0+NXcYpGJDWlNb9/JmYqLiX2Q3Tye vpB0CA3dbBQp0OW0fgC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gkPfDAfF77zy2AH1vJzQ1fOU8lYFpZXTXIH b+559UqvIB8AdgR3SAJGHHt4RKA0F7f5ipYBBrC6cyXJyyoprT10EMvU8VGiwXvT yJz3fjoYsdFzpWPlJEBRMedCot60g5dmbdrZ5DWClAr0yau47zpWj3enf1tLWaqc suylWsviuGjKGw7KHQd3bxALOknAp4dN3QwBYCKuZ7AddY9yjynVaD5X7nF9nO5B jR/i1DG86lem3iBDXzXsZDn8R38=3D =3D2wuH -----END PGP PUBLIC KEY BLOCK----- --------------ZCDTGmwg4WcLL3ym70Z0wmG0-- --------------8VleNbXuViHE90YbagetCfNQ-- --------------AmTzaEmwjNDFarnUqUcdU2He Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmRc7nEFAwAAAAAACgkQsN6d1ii/Ey95 xAf9ELMwKAp13ydHnLPOCZcsC+W1qCni+ViTkFbkZODuOumkWTv1uUIRmLePebmTClzcx7VhsNpj a048uAX7Bvj/ij0ie2ZQG22u4thOiLw41W6X5DpMS2JUKxi3QdPGHUEUsjqkYYDk1J2A0mmF6jjt UZlb/sUbuQY3/ZvbSxdeT7oubWd9/D6PFlnTICyAVC4tiG1n79l/ylmjygHULaqA6W22HWGYRWAB 1DUq/BocRTTZzzSPqT56ukMt6IwdWQlCUP/DYs7SHLpdBx8ZcrQXKF9GsD8nNshGCDZyDbW1avbp drVP7KuOckqmecbeyiYQMgEJVBoQiD/ASuGt7Tx8xw== =fNLa -----END PGP SIGNATURE----- --------------AmTzaEmwjNDFarnUqUcdU2He--