summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-14 01:50:45 +0100
committerDavid S. Miller <davem@davemloft.net>2011-02-14 01:51:37 +0100
commitc978e7bb77dfd2cd3d1f547fa4e395cfe47f02b2 (patch)
treeb77cb1058d7821a9cdb8fcc7a8d6d3759f63743e /block
parentUSB Network driver infrastructure: Fix leak when usb_autopm_get_interface() r... (diff)
downloadlinux-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