]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rtlwifi: rtl8192c_common: rtl8192de: Check for allocation failures
authorLarry Finger <Larry.Finger@lwfinger.net>
Sun, 8 Jan 2012 02:46:40 +0000 (20:46 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 17:31:42 +0000 (10:31 -0700)
commitb41c92b278bca642b12be17e4e01359dfd84dec5
tree0e8bddb7cd8bb660f2ec28d417e990124dbf1ea3
parent9702690fb8cbb98b3a590d15a6d7111f0e822fde
rtlwifi: rtl8192c_common: rtl8192de: Check for allocation failures

commit 76a92be537f1c8c259e393632301446257ca3ea9 upstream.

In https://bugzilla.redhat.com/show_bug.cgi?id=771656, a kernel bug was
triggered due to a failed skb allocation that was not checked. This event
lead to an audit of all memory allocations in the complete rtlwifi family
of drivers. This patch fixes the rest.

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@linuxfoundation.org>
drivers/net/wireless/rtlwifi/pci.c
drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c
drivers/net/wireless/rtlwifi/rtl8192de/fw.c
drivers/net/wireless/rtlwifi/usb.c