From: David S. Miller Date: Mon, 14 Feb 2011 00:50:45 +0000 (-0800) Subject: hisax: Fix unchecked alloc_skb() return. X-Git-Tag: v2.6.38-rc6~20^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c978e7bb77dfd2cd3d1f547fa4e395cfe47f02b2;p=pandora-kernel.git hisax: Fix unchecked alloc_skb() return. Jesper Juhl noticed that l2_pull_iqueue() does not check to see if alloc_skb() fails. Fix this by first trying to reallocate the headroom if necessary, rather than later after we've made hard to undo state changes. Reported-by: Jesper Juhl Signed-off-by: David S. Miller --- Reading git-diff-tree failed