Re: [PATCH 1/2] cpqfc: fix for "Using too much stach" in 2.6 kernel

From: Dave Jones
Date: Wed Aug 03 2005 - 23:58:07 EST


On Thu, Aug 04, 2005 at 10:09:51AM +0530, Saripalli, Venkata Ramanamurthy (STSD) wrote:
> - ULONG ulFibreFrame[2048/4]; // max DWORDS in incoming FC

This is 512 ulongs, which is 2KB.

> + ulFibreFrame = kmalloc((2048/4), GFP_KERNEL);

You're replacing it with a 512 byte buffer.

Dave

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