diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-14 01:50:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-14 01:51:37 +0100 |
commit | c978e7bb77dfd2cd3d1f547fa4e395cfe47f02b2 (patch) | |
tree | b77cb1058d7821a9cdb8fcc7a8d6d3759f63743e /block | |
parent | USB Network driver infrastructure: Fix leak when usb_autopm_get_interface() r... (diff) | |
download | linux-c978e7bb77dfd2cd3d1f547fa4e395cfe47f02b2.tar.xz linux-c978e7bb77dfd2cd3d1f547fa4e395cfe47f02b2.zip |
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 'block')
0 files changed, 0 insertions, 0 deletions