Re: [PATCH 1/1] tcmu: fix cmd user after free

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

 



On Mon, 2018-01-15 at 14:37 -0600, Mike Christie wrote:
> If we are failing the command due to a qfull timeout we are
> also freeing the tcmu command, so we cannot access it later
> to get the se_cmd.
> 
> Note: The clearing of cmd->se_cmd is not needed. We do not check
> it later for something like determining if the command was failed
> due to a timeout. As a result I am dropping it.
> 
> Signed-off-by: Mike Christie <mchristi@xxxxxxxxxx>
> ---
>  drivers/target/target_core_user.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 

Applied.

--
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