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

Dave Jones
2005-08-04T04:49:19Z

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