Files
linux/drivers/net/wireless
Larry Finger 19d240f78b rtlwifi: Fix IOMMU mapping leak in AP mode
[ Upstream commit be0b5e6358 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-04-24 17:14:02 -04:00
..
2014-08-26 09:35:54 +02:00
2014-08-11 12:19:53 -07:00
2014-08-11 12:19:53 -07:00
2014-03-17 13:51:52 -04:00
2014-08-28 14:41:56 -04:00
2014-08-28 14:41:56 -04:00