summaryrefslogtreecommitdiffstats
path: root/drivers/net/ibm_newemac/mal.c
diff options
context:
space:
mode:
authorFlorian Fainelli <florian.fainelli@telecomint.eu>2008-07-13 14:32:18 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-07-23 01:56:32 +0200
commit3d4634193aa95a6d04a786fc12b190d0e4295685 (patch)
treef5dbe0ec58c5961bd97474743d95514cd709657f /drivers/net/ibm_newemac/mal.c
parentr6040: fix scheduling while atomic in r6040_tx_timeout (diff)
downloadlinux-3d4634193aa95a6d04a786fc12b190d0e4295685.tar.xz
linux-3d4634193aa95a6d04a786fc12b190d0e4295685.zip
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/ibm_newemac/mal.c')
0 files changed, 0 insertions, 0 deletions