diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-13 16:50:45 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-13 16:51:37 -0800 |
commit | c978e7bb77dfd2cd3d1f547fa4e395cfe47f02b2 (patch) | |
tree | b77cb1058d7821a9cdb8fcc7a8d6d3759f63743e /arch | |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions