]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Jan 2012 20:46:39 +0000 (15:46 -0500)
commitd90db4b12bc1b9b8a787ef28550fdb767ee25a49
treecf0aa627c4acd887de9555202feccb983868eddc
parent874c60bad92564358e87d58f505fceb0b09ec1aa
rtl8192se: Fix BUG caused by failure to check skb allocation

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>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192se/fw.c