Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp442220rwd; Wed, 17 May 2023 21:59:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7vu1jAEGk0LiEFtj/lvWZEL69eHWH3Bchk42FhlVw0FYYXZC9EKhuPxT8qIWhr6J2zPewy X-Received: by 2002:a05:6a20:394b:b0:103:e813:77a1 with SMTP id r11-20020a056a20394b00b00103e81377a1mr921156pzg.15.1684385960084; Wed, 17 May 2023 21:59:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684385960; cv=none; d=google.com; s=arc-20160816; b=XnUl7doTqnw1G42sLTvzk8W2d7kvluTxTII0ioFctwUj+LaRpnbTLb//UfSRmElL2z t4XxxXJ2fA8CovhrAymzDg/GwDY7EvrZOxrci5V5KxW2VKD8Wab1aLgOPxfJtoVxLwSU rxV99tVgC+43rI3gEc9amLjU4XKAMa3oMRLMSQKtdQ8gu0OpuFeJo8AHv5SA9/UEG/d0 NWnDOOgT9/8MLJE0SVYHcx6NGs7INlEsnBKHXBMTpFyFA2z7OROTPch29kHPC2xemfgw SIeQoCg/d+qwyqYTqvMqAiB23iRGDLjdBQzhF/tX8Rxg5noLZTPgA3TmKvniM6iW7roQ GeBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature; bh=dU3g2TFNel7/mtylcwF6Urz1FR7CgmiQ4S1MWDIfah4=; b=yVtNF08FDHtOqw5cVQhztFaPlSRSFUaNJQ4mNAe/UmeYnD5JxAU3sTGtdWawajcdKx e3vW8gOMtwDPBh0iEqp9wBvyAM6e19N16EyO090f4dJtIQ6k7819obIc/Cf1T+pgEEJv FTSDdObKyMY9lspAcTuX0h81hV+5lVd/9Hja9+omcijhBiP6GIu2LwTUQQISdj9R1oH0 wIzXi0L60IeH/Dw1zOkWNxbq8NQLn0/3Ou9pdB16pwCVxagm7g9Cu8f3rgPyK5F8+PO5 HP3iHrVTCg2gqWA/Rb6DPCDPnWBlq8cra551dAyLZCMqVIhJveLaCva0vW39uaf0CklT CLbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=IgDOyJp1; 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 187-20020a6300c4000000b005192614041esi503009pga.519.2023.05.17.21.59.08; Wed, 17 May 2023 21:59:20 -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=IgDOyJp1; 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 S229824AbjERExT (ORCPT + 99 others); Thu, 18 May 2023 00:53:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbjERExS (ORCPT ); Thu, 18 May 2023 00:53:18 -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 E86112693; Wed, 17 May 2023 21:53:16 -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 CBFFB1F74D; Thu, 18 May 2023 04:53:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1684385594; 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=dU3g2TFNel7/mtylcwF6Urz1FR7CgmiQ4S1MWDIfah4=; b=IgDOyJp1EG/qrBRpPOz4jHiH8ZxPqROwmlNwZr4EDOrQoXtDmWpS/mBRRMOIw3lTtvbAUy 9DYmDZq9hlbTZqOPVC8EqenHiE7VtoMYROu0EZFVyGwm7++loOWfL7xyOCaZf6CujBxXkU /fV3qFfl5nBXsTtYgaiZ7ZO11JIeRCM= 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 9848C138F5; Thu, 18 May 2023 04:53:14 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id BQKpIzqvZWRqYAAAMHmgww (envelope-from ); Thu, 18 May 2023 04:53:14 +0000 Message-ID: <60aeffe4-b31d-4ea3-d4ea-f50ae25e0316@suse.com> Date: Thu, 18 May 2023 06:53:14 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Content-Language: en-US To: John Garry , "Martin K. Petersen" Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, "James E.J. Bottomley" , stable@vger.kernel.org References: <20230511123432.5793-1-jgross@suse.com> <6614f626-d174-03d0-0993-79e6f6169b71@suse.com> <9d356278-c826-dacf-cbe0-79f512b7970e@oracle.com> From: Juergen Gross Subject: Re: [PATCH] scsi: Let scsi_execute_cmd() mark args->sshdr as invalid In-Reply-To: <9d356278-c826-dacf-cbe0-79f512b7970e@oracle.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------0YLph03U21dwa7hmV1rNcJeY" X-Spam-Status: No, score=-5.8 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) --------------0YLph03U21dwa7hmV1rNcJeY Content-Type: multipart/mixed; boundary="------------sXLgrPQOvEJ2lCg0c0fNOTSc"; protected-headers="v1" From: Juergen Gross To: John Garry , "Martin K. Petersen" Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, "James E.J. Bottomley" , stable@vger.kernel.org Message-ID: <60aeffe4-b31d-4ea3-d4ea-f50ae25e0316@suse.com> Subject: Re: [PATCH] scsi: Let scsi_execute_cmd() mark args->sshdr as invalid References: <20230511123432.5793-1-jgross@suse.com> <6614f626-d174-03d0-0993-79e6f6169b71@suse.com> <9d356278-c826-dacf-cbe0-79f512b7970e@oracle.com> In-Reply-To: <9d356278-c826-dacf-cbe0-79f512b7970e@oracle.com> --------------sXLgrPQOvEJ2lCg0c0fNOTSc Content-Type: multipart/mixed; boundary="------------Deb0hiwjyTcmRu6pYJgabK7i" --------------Deb0hiwjyTcmRu6pYJgabK7i Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMTcuMDUuMjMgMTc6MDUsIEp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ZXIgdGhlIHByb2JsZW0g d2hpbGUgbG9va2luZyBpbnRvIHRoZSBjb2RlIGR1ZSB0byBhbmFseXppbmcgYQ0KY3VzdG9t ZXIncyBwcm9ibGVtLiBJJ20gbm8gU0NTSSBleHBlcnQsIGJ1dCB0aGUgY3VzdG9tZXIgd2Fz IHJ1bm5pbmcgWGVuIGFuZA0KdGhlcmUgd2FzIHRoZSBzdXNwaWNpb24gdGhpcyBjb3VsZCBi ZSBhbiB1bmRlcmx5aW5nIFhlbiBpc3N1ZSAod2hpY2ggaXMgbXkNCmFyZWEgb2YgaW50ZXJl c3QpLg0KDQpJdCBiZWNhbWUgY2xlYXIgcmF0aGVyIHF1aWNrbHkgdGhhdCB0aGUgdW5pbml0 aWFsaXplZCBzc2hkciB3YXNuJ3QgdGhlIHJvb3QNCmNhdXNlIG9mIHRoZSBjdXN0b21lcidz IHByb2JsZW1zLCBidXQgSSB0aG91Z2h0IGl0IHNob3VsZCBiZSBmaXhlZCBhbnl3YXkuIEFz DQp0aGVyZSBzZWVtIHRvIGJlIHF1aXRlIHNvbWUgcHJvYmxlbWF0aWMgY2FsbGVycyBvZiBz Y3NpX2V4ZWN1dGVfY21kKCksIEkndmUNCmNob3NlbiB0byBhZGQgdGhlIG1pbmltYWwgbmVl ZGVkIGluaXRpYWxpemF0aW9uIG9mIHNzaGRyIHRvIHNjc2lfZXhlY3V0ZV9jbWQoKQ0KaW5z dGVhZCBvZiB0cnlpbmcgdG8gZml4IGFsbCBjYWxsZXJzLg0KDQpSZWFzb25pbmcgd2h5IHRo ZSBjb2RlIGlzIGxvb2tpbmcgbGlrZSBpdCBkb2VzIGlzIHN1cmVseSBub3Qgd2hhdCBfSV8g d2FudCB0bw0KZG8uDQoNCg0KSnVlcmdlbg0K --------------Deb0hiwjyTcmRu6pYJgabK7i Content-Type: application/pgp-keys; name="OpenPGP_0xB0DE9DD628BF132F.asc" Content-Disposition: attachment; filename="OpenPGP_0xB0DE9DD628BF132F.asc" Content-Description: OpenP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AR+IP3I8U4aqnhLpwhK7MEy9oCILlgZ1QZe49kpcumcZKORmzB TNh30FVKK1EvmV2xAKDoaEOgQB4iFQLhJCdP1I5aSgM5IVFdn7v5YgEYuJYx37Io N1EblHI//x/e2AaIHpzK5h88NEawQsaNRpNSrcfbFmAg987ATQRTjHAWAQgAyzH6 AOODMBjgfWE9VeCgsrwH3exNAU32gLq2xvjpWnHIs98ndPUDpnoxWQugJ6MpMncr 0xSwFmHEgnSEjK/PAjppgmyc57BwKII3sV4on+gDVFJR6Y8ZRwgnBC5mVM6JjQ5x Dk8WRXljExRfUX9pNhdE5eBOZJrDRoLUmmjDtKzWaDhIg/+1Hzz93X4fCQkNVbVF LELU9bMaLPBG/x5q4iYZ2k2ex6d47YE1ZFdMm6YBYMOljGkZKwYde5ldM9mo45mm we0icXKLkpEdIXKTZeKDO+Hdv1aqFuAcccTg9RXDQjmwhC3yEmrmcfl0+rPghO0I v3OOImwTEe4co3c1mwARAQABwsBfBBgBAgAJBQJTjHAWAhsMAAoJELDendYovxMv Q/gH/1ha96vm4P/L+bQpJwrZ/dneZcmEwTbe8YFsw2V/Buv6Z4Mysln3nQK5ZadD 534CF7TDVft7fC4tU4PONxF5D+/tvgkPfDAfF77zy2AH1vJzQ1fOU8lYFpZXTXIH b+559UqvIB8AdgR3SAJGHHt4RKA0F7f5ipYBBrC6cyXJyyoprT10EMvU8VGiwXvT yJz3fjoYsdFzpWPlJEBRMedCot60g5dmbdrZ5DWClAr0yau47zpWj3enf1tLWaqc suylWsviuGjKGw7KHQd3bxALOknAp4dN3QwBYCKuZ7AddY9yjynVaD5X7nF9nO5B jR/i1DG86lem3iBDXzXsZDn8R38=3D =3D2wuH -----END PGP PUBLIC KEY BLOCK----- --------------Deb0hiwjyTcmRu6pYJgabK7i-- --------------sXLgrPQOvEJ2lCg0c0fNOTSc-- --------------0YLph03U21dwa7hmV1rNcJeY Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmRlrzoFAwAAAAAACgkQsN6d1ii/Ey9l Nwf/dNei0Pl/zUVyyvKbyHMntT1j8ar3DK3QFQ5NiCrjpwartHJGGjnJ76JCxJhDIaH3iZ0MjDUQ DGHtvDcbqSfq81FBV+JZdqPR1aWedbRtgRIxLd/c/VxWbZeFJl2XrAO+OR+8AXfhUWv26Xl1v5zn vdnSvX6oRk2aGEzLZ8E+WcrMjlTDNmjdk5AhAkssln6b+M36xXKWJHy/04tXbDg9MBJUmiir5Wfr /x/XTCwYffgp7a8XAkHvLskTP1/tZWpx5EXcHFDpZLQoZ2+PnZ0BjCkOXU7xV8p0VMeYGIRSmySw uozZEZDeo9WQNgnItonsIRWedk1CilEeeoMpFO/xew== =N7bv -----END PGP SIGNATURE----- --------------0YLph03U21dwa7hmV1rNcJeY--