Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <mkp@kernel.org>
To: Andrew Stellman <bugs@stellman-greene.com>
Cc: "Martin K. Petersen" <mkp@kernel.org>,
	 Mike Christie <michael.christie@oracle.com>,
	 target-devel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: [PATCH v2 scsi-fixes] scsi: target: iscsi: Fix the Discovery session opcode check
Date: Sat, 05 Dec 2026 21:13:34 -0500	[thread overview]
Message-ID: <yq14icrdum5.fsf@mail.kernel.org> (raw)
In-Reply-To: <20261129001752.78860-1-bugs@stellman-greene.com>


Andrew,

> RFC 7143 section 4.3 limits a Discovery session to Text and Logout
> requests. The TCP and cxgbit receive loops check this with bit tests,
> which pass any opcode with bit 0x04 set, so a Data-Out PDU (0x05) sent
> in a Discovery session passes the check and reaches the Data-Out
> handler.

Applied to 7.5/scsi-staging, thanks!

-- 
Martin K. Petersen

      reply	other threads:[~2026-12-06  2:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28 19:17 [PATCH scsi-fixes] scsi: target: iscsi: Fix the Discovery session opcode check Andrew Stellman
2026-11-28 19:26 ` sashiko-bot
2026-11-29  0:17 ` [PATCH v2 " Andrew Stellman
2026-12-06  2:13   ` Martin K. Petersen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yq14icrdum5.fsf@mail.kernel.org \
    --to=mkp@kernel.org \
    --cc=bugs@stellman-greene.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=michael.christie@oracle.com \
    --cc=target-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox