| To: | davem@xxxxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 1/6] bnx2: Fix excessive stack usage |
| From: | "Michael Chan" <mchan@xxxxxxxxxxxx> |
| Date: | Mon, 23 May 2005 17:25:07 -0700 |
| Cc: | jgarzik@xxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <1116892439.4908.1.camel@rh4> |
| References: | <1116892439.4908.1.camel@rh4> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
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@xxxxxxxxxxxx>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2/2][NET] rename struct tcp_listen_opt to struct listen_sock, Arnaldo Carvalho de Melo |
|---|---|
| Next by Date: | [PATCH 2/6] bnx2: Fix rx checksum, Michael Chan |
| Previous by Thread: | [PATCH 0/6] bnx2: Misc fixes, Michael Chan |
| Next by Thread: | Re: [PATCH 1/6] bnx2: Fix excessive stack usage, Jeff Garzik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |