Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1826667rdb; Thu, 7 Dec 2023 09:43:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQh4WE55a/e23AVF8gLAgr2n4Xp1qmKGxz2XFrIE7meZgTgoKZ1d0nzEbg7PjVWEOvofRw X-Received: by 2002:a17:90b:3007:b0:286:6cc0:8872 with SMTP id hg7-20020a17090b300700b002866cc08872mr2598045pjb.95.1701970987442; Thu, 07 Dec 2023 09:43:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701970987; cv=none; d=google.com; s=arc-20160816; b=wB1k7tfISCOmpCywKPFbtsKGGjrfWu72SKasFqi4A9xBeuSeRhbOaKypwSScxDlKPX 7gR1rssF4fzXVdK6vQE+Wy3dGnyCIfbOeo9rbUmhIz4jpF2Tuy4bFCddGgfv4NtxLeGZ NtyrxHJg/Lp4vvq2PmZtkiw0xiBgOvYCq/riC8UTjuqThIEUAFpWetV+5PucsJh6+kp/ 3uF/TJLDHXtO2pFiE8a3PRGh3q44IMd7tZard2OWPMn+qLtpPDZY2iDQvF4WqZ1JJaV3 ShMkjVdPvGxca3lljLIEDhdr+ZFNT3NbxfjGxwIPtLiaX5GGRiRWl4Crs25j7RNwvqn7 Ss/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=OJCVXtZJmzCujUind5yo2wkNwPmEDzhy34GP4isnJ0I=; fh=4GsBAv/NiZA6wUCqDf5aevm5Dqe5x/PcBBBvUvv1llU=; b=KMFLN7//mCyLF68Yu4suzURukNUEWnK0hg0XQQEODu+bcx/qTE3hheIpc1jIwF+f60 eFjrCLUdqZg+D8apDhu6FoDBzQhQOXDoi9Ik15nphqq1QgQDdvbA0KUNxt6bQZ7XOoOP ahyfZdJqS7nqU9odSsoPCV+PIbKAQOgbzmxL9kyEzU5YoKoAx/atY5plqBT7tZCPGhK4 Po0szHMxKJghFVkmRu7EVUqFlHtStEea6K3AeE4hri0hzcM5CBWE8kDg006y0nnGUMi9 Hzh/dA8fncef6Q4PLBd4AO0Zm2zwn+WdHbcZRu3qTx/fUEmrg7qyrEF+nQ0bjCmB3nS+ vWVg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id mq13-20020a17090b380d00b0027763ca82e9si168530pjb.91.2023.12.07.09.43.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 09:43:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 7E9FA803D812; Thu, 7 Dec 2023 09:43:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443508AbjLGRmw (ORCPT + 99 others); Thu, 7 Dec 2023 12:42:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443385AbjLGRmv (ORCPT ); Thu, 7 Dec 2023 12:42:51 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2a07:de40:b251:101:10:150:64:1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62FC8D53; Thu, 7 Dec 2023 09:42:58 -0800 (PST) Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id CBEFE21D95; Thu, 7 Dec 2023 17:42:55 +0000 (UTC) Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id CF8B413907; Thu, 7 Dec 2023 17:42:53 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap2.dmz-prg2.suse.org with ESMTPSA id /uvBJx0EcmUeYwAAn2gu4w (envelope-from ); Thu, 07 Dec 2023 17:42:53 +0000 From: To: target-devel@vger.kernel.org Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, dbond@suse.com, hare@suse.de, cleech@redhat.com, michael.christie@oracle.com, Lee Duncan Subject: [PATCH 0/2] scsi: target: iscsi: Fix two protocol issues Date: Thu, 7 Dec 2023 09:42:33 -0800 Message-Id: X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: +++++++++++++++ Authentication-Results: smtp-out1.suse.de; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=suse.com (policy=quarantine); spf=fail (smtp-out1.suse.de: domain of lduncan@suse.com does not designate 2a07:de40:b281:104:10:150:64:98 as permitted sender) smtp.mailfrom=lduncan@suse.com X-Rspamd-Server: rspamd2 X-Spamd-Result: default: False [15.00 / 50.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_FAIL(1.00)[-all]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[mac.com]; R_MISSING_CHARSET(2.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; BROKEN_CONTENT_TYPE(1.50)[]; DMARC_POLICY_QUARANTINE(1.50)[suse.com : No valid SPF, No valid DKIM,quarantine]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[]; NEURAL_HAM_SHORT(-0.20)[-1.000]; FROM_NO_DN(0.00)[]; RCPT_COUNT_SEVEN(0.00)[8]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.com:email]; MID_CONTAINS_FROM(1.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(2.20)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.00)[23.06%] X-Spam-Score: 15.00 X-Rspamd-Queue-Id: CBEFE21D95 X-Spam: Yes X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 07 Dec 2023 09:43:04 -0800 (PST) From: Lee Duncan Recent boot testing using the fastlinq qedi iSCSI Converged Network Adapter and an LIO target uncovered a couple of issues with the kernel iSCSI target driver. The first patch addresses an issue with the handling of iSCSI "immediate commands", which are allowed but not common, and the second patch lowers the noise level of the driver when initiators send PDUs with the read and/or write bits set but no data, which is also allowed. (See RFC 3720) Lee Duncan (2): scsi: target: iscsi: handle SCSI immediate commands scsi: target: iscsi: don't warn of R/W when no data drivers/target/iscsi/iscsi_target.c | 17 ++++++----------- drivers/target/iscsi/iscsi_target_util.c | 10 ++++++++-- 2 files changed, 14 insertions(+), 13 deletions(-) -- 2.43.0