From: Roel Kluin Date: Wed, 19 Aug 2009 03:21:40 +0000 (-0700) Subject: yellowfin: Fix buffer underrun after dev_alloc_skb() failure X-Git-Tag: v2.6.31-rc8~45^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7a5965a81a29a13cd4994fa23a6a7a1488bcdb6;p=pandora-kernel.git yellowfin: Fix buffer underrun after dev_alloc_skb() failure yellowfin_init_ring() needs to clean up if dev_alloc_skb() fails and should pass an error status up to the caller. This also prevents an buffer underrun if failure occurred in the first iteration. yellowfin_open() which calls yellowfin_init_ring() should free its requested irq upon failure. Signed-off-by: Roel Kluin Signed-off-by: David S. Miller --- Reading git-diff-tree failed