Re: [PATCH 1/6] bnx2: Fix excessive stack usage
From: Jeff Garzik <hidden>
Date: 2005-05-24 05:43:18
From: Jeff Garzik <hidden>
Date: 2005-05-24 05:43:18
Michael Chan wrote:
On Mon, 2005-05-23 at 21:42 -0400, Jeff Garzik wrote:quoted
memleak -- you need to free good_mbuf.Oops, here is the revised patch with kfree(). Thanks. Fix excessive stack usage in bnx2_alloc_bad_rbuf() by replacing local variable array with kmalloc array. Also changed function to return error code, and changed some of the callers to check for the return code. Spotted by Jeff Garzik. Signed-off-by: Michael Chan <mchan@broadcom.com>
ACK