aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mv643xx_eth.c
diff options
context:
space:
mode:
authorFlorian Fainelli <florian.fainelli@telecomint.eu>2008-07-13 08:32:18 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-07-22 19:56:32 -0400
commit3d4634193aa95a6d04a786fc12b190d0e4295685 (patch)
treef5dbe0ec58c5961bd97474743d95514cd709657f /drivers/net/mv643xx_eth.c
parentfec3a23be0daceeb0695f8296aea07ea1ad073d8 (diff)
r6040: rework the RX buffers allocation routine
Rework the RX buffers allocation function so that we do not leak memory in the case we could not allocate skbs for the RX path. Propagate the errors to the r6040_up function where we call the RX buffers allocation function. Also rename the r6040_alloc_txbufs function to r6040_init_txbufs, to reflect what it really does. Signed-Off-By: Joerg Albert <jal2@gmx.de> Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
0 files changed, 0 insertions, 0 deletions