android_kernel_xiaomi_sdm845/drivers/net/wireless/p54
Christian Lamparter f5300e04df p54pci: rx frame length check
A long time ago, a user reported several crashes due to
data corruptions which are likely the result of a
not-100%-supported, or faulty? PCI bridge.
( http://patchwork.kernel.org/patch/53004/ )

This patch fixes entry #1.
"1.  p54p_check_rx_ring - skb_over_panic: Under a ping flood
or just left running for a bit would panic with a skb_over_panic."
As described in the mail: The invalid frame length causes
skb_put to bailout and trigger a crash.

Note:
Simply dropping the frame is problematic, because if its content
contains a tx feedback we would lose some portion of the device
memory space.... And the driver/mac80211 should handle all other
invalid data.

Reported-by: Quintin Pitts <geek4linux@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-01-18 15:07:02 -05:00
..
eeprom.c p54: disable channels with incomplete calibration data sets 2009-11-02 15:43:23 -05:00
eeprom.h p54: Move eeprom header 2009-07-10 15:01:58 -04:00
fwio.c p54: implement rfkill 2009-08-14 09:13:45 -04:00
Kconfig wireless: remove WLAN_80211 and WLAN_PRE80211 from Kconfig 2009-10-30 16:50:35 -04:00
led.c mac80211: redefine usage of the mac80211 workqueue 2009-08-04 16:44:14 -04:00
lmac.h p54: fix beaconing related firmware crash 2009-07-24 15:05:21 -04:00
main.c cfg80211: convert bools into flags 2009-11-19 11:08:50 -05:00
Makefile p54: Modify p54 files for new organization 2009-07-10 15:02:24 -04:00
net2280.h
p54.h p54: fix beaconing related firmware crash 2009-07-24 15:05:21 -04:00
p54pci.c p54pci: rx frame length check 2010-01-18 15:07:02 -05:00
p54pci.h
p54spi_eeprom.h
p54spi.c spi: prefix modalias with "spi:" 2009-09-23 07:39:43 -07:00
p54spi.h
p54usb.c p54usb: Remove DMA buffer from stack 2009-11-13 17:33:49 -05:00
p54usb.h
txrx.c p54: fix broadcast buffering in AP mode 2009-08-28 14:40:23 -04:00