git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab60707
)
hisax: Fix unchecked alloc_skb() return.
author
David S. Miller
<davem@davemloft.net>
Mon, 14 Feb 2011 00:50:45 +0000
(16:50 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 14 Feb 2011 00:51:37 +0000
(16:51 -0800)
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>
No differences found