lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 22 Mar 2012 21:33:58 +0100
From:	Jens Axboe <axboe@...nel.dk>
To:	"Stephen M. Cameron" <scameron@...rdog.cce.hp.com>
CC:	stephenmcameron@...il.com, akpm@...ux-foundation.org,
	mikem@...rdog.cce.hp.com, linux-kernel@...r.kernel.org,
	thenzl@...hat.com
Subject: Re: [PATCH 1/2] cciss: Fix scsi tape io with more than 255 scatter
 gather elements

On 2012-03-22 19:08, Stephen M. Cameron wrote:
> From: Stephen M. Cameron <scameron@...rdog.cce.hp.com>
> 
> The total number of scatter gather elements in the CISS command
> used by the scsi tape code was being cast to a u8, which can hold
> at most 255 scatter gather elements.  It should have been cast to
> a u16.  Without this patch the command gets rejected by the controller
> since the total scatter gather count did not add up to the right
> value resulting in an i/o error.

Thanks Stephen, applied both patches.

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ