From: Andy Fleming Date: Tue, 22 Apr 2008 22:18:29 +0000 (-0500) Subject: gianfar: Fix skb allocation strategy X-Git-Tag: v2.6.26-rc1~1067^2~1^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=815b97c6b8861f2e539c9ecb44c02b7b8ac11ca4;p=pandora-kernel.git gianfar: Fix skb allocation strategy gianfar was unable to handle failed skb allocation for rx buffers, so we were spinning until it succeeded. Actually, it was worse--we were spinning for a long time, and then silently failing. Instead, we take Stephen Hemminger's suggestion to try the allocation earlier, and drop the packet if it failed. We also make a couple of tweaks to how buffer descriptors are set up. Signed-off-by: Andy Fleming Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed