Re: [PATCH] target: Add workaround for zero-length control CDB handling

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

 



On Fri, Jan 13, 2012 at 08:02:14PM +0000, Nicholas A. Bellinger wrote:
> From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>
> 
> This patch adds a work-around for handling zero allocation length
> control CDBs (type SCF_SCSI_CONTROL_SG_IO_CDB) that was causing an
> OOPs with the following raw calls:
> 
>    # sg_raw -v /dev/sdd 3 0 0 0 0 0
>    # sg_raw -v /dev/sdd 0x1a 0 1 0 0 0

Can you please start collecting these in a test suite?  It doesn't have
to be fancy, just a directory with shell scripts would enough.

We had tons of issues where "odd" commands would crash the kernel, or at
least get unusual results.  Without collecting them in a regression test
suite that will happen over and over again.
--
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