rtl8192se: Fix BUG caused by failure to check skb allocation
commit7eff19fee7a5c461a1bc0a6306bb05adb53051c7
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 5 Jan 2012 02:50:47 +0000 (4 20:50 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 Jan 2012 15:31:58 +0000 (18 07:31 -0800)
tree3c784d70fbc91d8f7a230d72750b96363b0eef7c
parentfa3cbc36b3f28d765ad72b1a4d845fef2628c943
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