twx-linux/drivers/net/wireless/rtlwifi
Larry Finger e9538cf4f9 rtlwifi: Fix error when accessing unmapped memory in skb
These drivers use 9100-byte receive buffers, thus allocating an skb requires
an O(3) memory allocation. Under heavy memory loads and fragmentation, such
a request can fail. Previous versions of the driver have dropped the packet
and reused the old buffer; however, the new version introduced a bug in that
it released the old buffer before trying to allocate a new one. The previous
method is implemented here. The skb is unmapped before any attempt is made to
allocate another.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>  [v3.18]
Reported-by: Eric Biggers <ebiggers3@gmail.com>
Cc: Eric Biggers <ebiggers3@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2015-01-05 10:05:44 +02:00
..
btcoexist
rtl8188ee rtlwifi: Fix static checker warnings for various drivers 2014-10-02 14:26:32 -04:00
rtl8192c rtl8192cu: Prevent Ooops under rtl92c_set_fw_rsvdpagepkt 2014-10-23 14:02:07 -04:00
rtl8192ce rtlwifi: rtl8192ce: Set fw_ready flag 2014-12-15 13:46:20 -05:00
rtl8192cu rtlwifi: rtl8192cu: Fix sparse non static symbol warning 2014-12-15 13:46:19 -05:00
rtl8192de rtlwifi: rtl8192ce: rtl8192de: rtl8192se: Fix handling for missing get_btc_status 2014-10-30 15:00:23 -04:00
rtl8192ee net: wireless: rtlwifi: rtl8192ee: Fix compilation of the driver 2014-11-24 16:51:26 -05:00
rtl8192se rtlwifi: rtl8192se: Fix connection problems 2014-11-10 13:10:23 -05:00
rtl8723ae net: wireless: rtlwifi: Do not always include drivers in obj-m 2014-11-24 16:51:25 -05:00
rtl8723be net: wireless: rtlwifi: Do not always include drivers in obj-m 2014-11-24 16:51:25 -05:00
rtl8723com
rtl8821ae rtlwifi: rtl8821ae: fix misspelling of current function in string 2014-12-15 13:46:19 -05:00
base.c rtlwifi: prevent format string usage from leaking 2014-10-23 14:02:06 -04:00
base.h
cam.c
cam.h
core.c rtlwifi: update RCR register in rtl_op_configure_filter() 2014-11-24 16:51:23 -05:00
core.h rtlwifi: rtl8192ce: rtl8192de: rtl8192se: Fix handling for missing get_btc_status 2014-10-30 15:00:23 -04:00
debug.c
debug.h
efuse.c
efuse.h
Kconfig
Makefile
pci.c rtlwifi: Fix error when accessing unmapped memory in skb 2015-01-05 10:05:44 +02:00
pci.h
ps.c
ps.h
pwrseqcmd.h
rc.c
rc.h
regd.c
regd.h
stats.c
stats.h
usb.c rtl8192cu: Call ieee80211_register_hw from rtl_usb_probe 2014-10-23 14:02:07 -04:00
usb.h
wifi.h rtlwifi: Fix possible unaligned array in ether_addr_copy() 2014-10-08 15:24:16 -04:00