Re: [PATCH 2/3] iscsi-target: iscsi: Fix exp_statsn handling to use iSCSI serial number arithmetic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 6, 2012 at 6:30 PM, Nicholas A. Bellinger
<nab@xxxxxxxxxxxxxxx> wrote:
> Note the cmd->i_state == ISTATE_SENT_STATUS check before ->stat_sn
> comparison trys to prevent a iscsi_cmd_t from being improperly acked +
> released by an malicious initiator ExpStatSN.

Just to be clear... wasn't suggesting a malicious initiator.  Just
that as the SNs get close to UINT_MAX, there will be a window where
the initiator might be a few behind the target, but the target StatSN
will be 0 or a small integer, while the initiator ExpStatSn will be
close to UINT_MAX.

> That said, applying the original patch with a proper commit log into
> for-next shortly.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux