diff options
author | Florian Fainelli <florian.fainelli@telecomint.eu> | 2008-07-13 14:32:18 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-07-22 19:56:32 -0400 |
commit | 3d4634193aa95a6d04a786fc12b190d0e4295685 (patch) | |
tree | f5dbe0ec58c5961bd97474743d95514cd709657f /mm/madvise.c | |
parent | fec3a23be0daceeb0695f8296aea07ea1ad073d8 (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 'mm/madvise.c')
0 files changed, 0 insertions, 0 deletions