linux-bl808/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
rtl8192c
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
rtl8192ee net: wireless: rtlwifi: rtl8192ee: Fix compilation of the driver 2014-11-24 16:51:26 -05:00
rtl8192se
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
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
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
usb.h
wifi.h