commit | c978e7bb77dfd2cd3d1f547fa4e395cfe47f02b2 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sun Feb 13 16:50:45 2011 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 13 16:51:37 2011 -0800 |
tree | b77cb1058d7821a9cdb8fcc7a8d6d3759f63743e | |
parent | ab60707ffe9920b66b4fff5181b44b14cd091472 [diff] |
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 <jj@chaosbits.net> Signed-off-by: David S. Miller <davem@davemloft.net>