From: Florian Fainelli Date: Sun, 13 Jul 2008 12:32:18 +0000 (+0200) Subject: r6040: rework the RX buffers allocation routine X-Git-Tag: v2.6.27-rc1~860^2~3^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d4634193aa95a6d04a786fc12b190d0e4295685;p=pandora-kernel.git 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 Signed-off-by: Florian Fainelli Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed