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] scsi: target: iscsi: Free dropped Text commands on DataDigest errors
Date: Sat, 05 Dec 2026 21:30:23 -0500 [thread overview]
Message-ID: <yq1se0bcf9p.fsf@mail.kernel.org> (raw)
In-Reply-To: <20261129135303.80812-1-bugs@stellman-greene.com>
Andrew,
> At ErrorRecoveryLevel 1 and above, iscsit_handle_text_cmd() and
> cxgbit_handle_text_cmd() silently drop a Text Request whose DataDigest
> doesn't match. When the request starts a new exchange (TTT
> 0xffffffff), the receive path has already allocated a command and a
> session tag for it, but the drop path returns without linking the
> command to the connection or freeing it, so each such request leaks
> the command and its tag.
Applied to 7.5/scsi-staging, thanks!
--
Martin K. Petersen
prev parent reply other threads:[~2026-12-06 2:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 13:53 [PATCH] scsi: target: iscsi: Free dropped Text commands on DataDigest errors Andrew Stellman
2026-11-29 14:08 ` sashiko-bot
2026-12-06 2:30 ` 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=yq1se0bcf9p.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