Re: [patch] SGIIOC4 limit request size

From: Bartlomiej Zolnierkiewicz
Date: Wed Feb 01 2006 - 09:53:26 EST


On 2/1/06, Alan Cox <alan@xxxxxxxxxx> wrote:
> On Wed, Feb 01, 2006 at 03:36:07AM -0800, Jeremy Higdon wrote:
> > Here's one that removes xcount. It seems to work too.
> > Should we set hwif->rqsize to 256, or are we pretty safe in
> > expecting that the default won't rise? The driver should be
>
> 255 is the safest for LBA28 devices because a small number incorrectly
> interpret 0 (meaning 256) as 0. And that can have unfortunate results

We can blacklist vulnerable devices if needed.
We have been using 256 for a long time now.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/