[PATCH 1/6] bnx2: Fix excessive stack usage
From: "Michael Chan" <mchan@broadcom.com>
Date: 2005-05-24 00:25:07
Attachments
- bnx2-11.patch [text/x-patch] 1818 bytes · preview
From: "Michael Chan" <mchan@broadcom.com>
Date: 2005-05-24 00:25:07
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>