linux/drivers/staging
Daniel Lichtenberger 43f88d530e Staging: rtl8192e: fix IOMMU memory leak
Unmap the rx buffer before mapping the new one in rtl8192_rx.

Failing to do so quickly exhausts the IOMMU memory during downloads:

[...] DMA: Out of SW-IOMMU space for 9100 bytes at device ...

Using "iommu=off mem=4g" also fixes the problem because
then pci_map_single does not allocate memory.

Tested on my personal laptop with a RTL8192E device. Without this
patch the kernel quickly runs out of IOMMU memory (downloading 5 MB
of data is sufficient to trigger it), with this patch applied
I haven't experienced any issues so far.

Signed-off-by: Daniel Lichtenberger <daniel.lichtenberger@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-11-09 14:05:23 -08:00
..
adis16255
asus_oled Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
ath6kl Staging: ath6kl: Adapt API changes in cfg80211 2010-11-09 13:33:27 -08:00
autofs convert get_sb_nodev() users 2010-10-29 04:16:31 -04:00
batman-adv staging: batman-adv: remove useless addr_to_string() 2010-10-20 15:48:40 -07:00
bcm Staging: bcm: use get_user() to access user pointers 2010-11-09 13:32:36 -08:00
brcm80211 staging: brcm80211: Maintainer change 2010-11-09 14:05:23 -08:00
comedi staging: Final semaphore cleanup 2010-10-30 12:12:50 +02:00
cpia staging: cpia: fix camera file owner in cpia_open() 2010-11-09 13:24:12 -08:00
crystalhd Merge 'staging-next' to Linus's tree 2010-10-28 09:44:56 -07:00
cx25821 Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2010-10-28 12:13:00 -07:00
cxt1e1 Staging: cxt1e1: multiple definition of max_mtu fix 2010-10-19 10:12:14 -07:00
dt3155v4l V4L/DVB: videobuf: add queue argument to videobuf_waiton() 2010-10-21 01:06:14 -02:00
easycap Merge 'staging-next' to Linus's tree 2010-10-28 09:44:56 -07:00
echo
et131x Staging: et131x: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:49 -07:00
frontier Merge 'staging-next' to Linus's tree 2010-10-28 09:44:56 -07:00
ft1000 drivers/staging: delete double assignment 2010-11-09 14:05:22 -08:00
go7007 Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2010-10-28 12:13:00 -07:00
hv drivers/staging: delete double assignment 2010-11-09 14:05:22 -08:00
iio Merge 'staging-next' to Linus's tree 2010-10-28 09:44:56 -07:00
intel_sst Staging: sst: add some __user anotations 2010-11-09 13:31:49 -08:00
keucr Staging: keucr: fix up US_ macro change 2010-10-28 09:53:38 -07:00
line6 Staging: line6: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:47 -07:00
lirc Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2010-10-28 12:13:00 -07:00
memrar llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
msm staging: Final semaphore cleanup 2010-10-30 12:12:50 +02:00
octeon Merge 'staging-next' to Linus's tree 2010-10-28 09:44:56 -07:00
olpc_dcon Staging: olpc_dcon: mark the driver as CONFIG_BROKEN for now 2010-10-05 12:08:48 -07:00
panel llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
phison Staging: phison: fix problem caused by libata change 2010-10-09 13:26:12 -07:00
pohmelfs convert get_sb_nodev() users 2010-10-29 04:16:31 -04:00
quatech_usb2
quickstart Merge 'staging-next' to Linus's tree 2010-10-28 09:44:56 -07:00
rt2860 staging: rt2870: Add new USB ID for Belkin F6D4050 v1 2010-11-09 14:05:23 -08:00
rt2870 Staging: rt2870: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:46 -07:00
rtl8187se Staging: rtl8187se: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:45 -07:00
rtl8192e Staging: rtl8192e: fix IOMMU memory leak 2010-11-09 14:05:23 -08:00
rtl8192u Staging: rtl8192u: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:42 -07:00
rtl8712 staging: Final semaphore cleanup 2010-10-30 12:12:50 +02:00
samsung-laptop
sbe-2t3e3 Staging: sbe-2t3e3: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:45 -07:00
serqt_usb2
slicoss staging: slicoss: use free_netdev(netdev) instead of kfree() 2010-09-30 04:14:21 -07:00
sm7xx
smbfs Merge branches 'irq-core-for-linus' and 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2010-10-31 20:40:24 -04:00
solo6x10 Staging: solo6x10: fix build problem 2010-11-02 08:39:05 -07:00
speakup staging: speakup: fix memory leak 2010-10-19 10:10:54 -07:00
spectra Merge 'staging-next' to Linus's tree 2010-10-28 09:44:56 -07:00
stradis staging: stradis: fix error handling and information leak to userland 2010-11-09 13:24:13 -08:00
ti-st staging: ti-st: move TI_ST from staging to misc/ 2010-10-06 08:25:06 -07:00
tidspbridge Merge 'staging-next' to Linus's tree 2010-10-28 09:44:56 -07:00
tm6000 i2c: Drop unused I2C_CLASS_TV flags 2010-10-31 21:06:59 +01:00
udlfb
usbip Merge 'staging-next' to Linus's tree 2010-10-28 09:44:56 -07:00
vme Staging: vme: Assure D16 cycle if required in master_read and master_write 2010-09-30 04:33:26 -07:00
vt6655 Merge 'staging-next' to Linus's tree 2010-10-28 09:44:56 -07:00
vt6656 staging: vt6656: implement missing brackets 2010-11-09 14:05:23 -08:00
westbridge drivers/staging: delete double assignment 2010-11-09 14:05:22 -08:00
winbond Staging: winbond: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:40 -07:00
wlags49_h2 Merge 'staging-next' to Linus's tree 2010-10-28 09:44:56 -07:00
wlags49_h25 Staging: wlags49_h25: Makefile: cleaned up Makefile cflag lines 2010-10-05 11:56:38 -07:00
wlan-ng Merge 'staging-next' to Linus's tree 2010-10-28 09:44:56 -07:00
xgifb Merge 'staging-next' to Linus's tree 2010-10-28 09:44:56 -07:00
zram Merge 'staging-next' to Linus's tree 2010-10-28 09:44:56 -07:00
Kconfig Staging: dream: remove dream driver and arch from tree 2010-10-29 12:42:18 -07:00
Makefile Staging: dream: remove dream driver and arch from tree 2010-10-29 12:42:18 -07:00
staging.c