linux/drivers/net/wireless/rtlwifi
Larry Finger be0b5e6358 rtlwifi: Fix IOMMU mapping leak in AP mode
Transmission of an AP beacon does not call the TX interrupt service routine,
which usually does the cleanup. Instead, cleanup is handled in a tasklet
completion routine. Unfortunately, this routine has a serious bug in that it does
not release the DMA mapping before it frees the skb, thus one IOMMU mapping is
leaked for each beacon. The test system failed with no free IOMMU mapping slots
approximately one hour after hostapd was used to start an AP.

This issue was reported and tested at https://github.com/lwfinger/rtlwifi_new/issues/30.

Reported-and-tested-by: Kevin Mullican <kevin@mullican.com>
Cc: Kevin Mullican <kevin@mullican.com>
Signed-off-by: Shao Fu <shaofu@realtek.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>  [3.18+]
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2015-03-22 07:52:25 +02:00
..
btcoexist rtlwifi: btcoexist: Fix Smatch warning 2014-09-26 17:22:27 -04:00
rtl8188ee rtlwifi: Move macro definitions to core 2015-01-09 15:48:20 +02:00
rtl8192c rtlwifi: rtl8192c-common: Convert driver to use common DM table initialization 2015-01-09 15:48:12 +02:00
rtl8192ce rtlwifi: Create new routine to initialize the DM tables 2015-01-09 15:48:10 +02:00
rtl8192cu rtlwifi: rtl8192cu: Set fw_ready flag 2015-01-27 20:20:09 +02:00
rtl8192de rtlwifi/rtl8192de: remove redundant else if check 2015-01-23 19:30:45 +02:00
rtl8192ee rtlwifi: rtl8192ee: Fix problems with calculating free space in FIFO 2015-02-06 08:36:08 +02:00
rtl8192se rtlwifi: Move macro definitions to core 2015-01-09 15:48:20 +02:00
rtl8723ae rtlwifi: rtl8723ae: Convert driver to use common DM table initialization 2015-01-09 15:48:16 +02:00
rtl8723be rtlwifi: Move macro definitions to core 2015-01-09 15:48:20 +02:00
rtl8723com rtlwifi: rtl8723be: Update driver to match Realtek release of 06/28/14 2014-09-30 13:17:15 -04:00
rtl8821ae rtlwifi: Move macro definitions to core 2015-01-09 15:48:20 +02:00
Kconfig rtlwifi: Fix Kconfig for RTL8192EE 2014-10-02 14:26:32 -04:00
Makefile rtlwifi: rtl8192ee: Move driver from staging to the regular tree 2014-09-30 13:17:14 -04:00
base.c rtlwifi: Improve handling of IPv6 packets 2015-03-03 17:07:05 +02:00
base.h rtlwifi: rtl8821ae: Switch to use common rate control routine 2014-12-24 18:34:29 +02:00
cam.c rtlwifi: Modify cam.{c,h} and efuse.{c,h} for new drivers 2014-09-26 17:22:28 -04:00
cam.h rtlwifi: Modify cam.{c,h} and efuse.{c,h} for new drivers 2014-09-26 17:22:28 -04:00
core.c rtlwifi: add support to send beacon frame. 2015-01-27 19:51:49 +02:00
core.h rtlwifi: Move macro definitions to core 2015-01-09 15:48:20 +02:00
debug.c rtlwifi: Finish modifying core routines for new drivers 2014-09-26 17:22:28 -04:00
debug.h rtlwifi: rtl8821ae: Move driver from staging to regular tree 2014-09-26 17:22:28 -04:00
efuse.c rtlwifi: rtl8188ee: rtl8723ae: rtl8821ae: Initialize some variables 2014-09-30 13:17:38 -04:00
efuse.h rtlwifi: Modify cam.{c,h} and efuse.{c,h} for new drivers 2014-09-26 17:22:28 -04:00
pci.c rtlwifi: Fix IOMMU mapping leak in AP mode 2015-03-22 07:52:25 +02:00
pci.h rtlwifi: rtl8192ee: Fix problems with calculating free space in FIFO 2015-02-06 08:36:08 +02:00
ps.c rtlwifi: Update power-save routines for 062814 driver 2014-09-26 17:22:28 -04:00
ps.h rtlwifi: Update power-save routines for 062814 driver 2014-09-26 17:22:28 -04:00
pwrseqcmd.h rtlwifi: rtl8821ae: Move driver from staging to regular tree 2014-09-26 17:22:28 -04:00
rc.c rtlwifi: Finish modifying core routines for new drivers 2014-09-26 17:22:28 -04:00
rc.h rtlwifi: Finish modifying core routines for new drivers 2014-09-26 17:22:28 -04:00
regd.c rtlwifi: Finish modifying core routines for new drivers 2014-09-26 17:22:28 -04:00
regd.h rtlwifi: Finish modifying core routines for new drivers 2014-09-26 17:22:28 -04:00
stats.c rtlwifi: Finish modifying core routines for new drivers 2014-09-26 17:22:28 -04:00
stats.h rtlwifi: Finish modifying core routines for new drivers 2014-09-26 17:22:28 -04:00
usb.c rtl8192cu: Call ieee80211_register_hw from rtl_usb_probe 2014-10-23 14:02:07 -04:00
usb.h rtlwifi: usb: defer rx processing to tasklet 2013-03-25 16:42:22 -04:00
wifi.h rtlwifi: rtl8192ee: Fix handling of new style descriptors 2015-02-06 08:36:00 +02:00