netdev
[Top] [All Lists]

[PATCH 1/6] bnx2: Fix excessive stack usage

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>

Attachment: bnx2-11.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>