rtl8192se: Fix BUG caused by failure to check skb allocation
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 5 Jan 2012 02:50:47 +0000 (20:50 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Jan 2012 00:13:23 +0000 (16:13 -0800)
commit8bf3ae0e91c183f47b328a232c94a152de540182
tree14271e08e455f528ba45985affff1cefd96763d1
parentc656fce141afb8db4e7dc5a3af1e82308202698a
rtl8192se: Fix BUG caused by failure to check skb allocation

commit d90db4b12bc1b9b8a787ef28550fdb767ee25a49 upstream.

When downloading firmware into the device, the driver fails to check the
return when allocating an skb. When the allocation fails, a BUG can be
generated, as seen in https://bugzilla.redhat.com/show_bug.cgi?id=771656.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/rtlwifi/rtl8192se/fw.c