OpenCloudOS-Kernel/drivers/net/wireless
Helmut Schaa 95192339c2 rt2x00: Fix race between dma mapping and clearing rx entries in rt2800pci
During rx, rt2x00lib calls rt2800pci_fill_rxdone to read the RX
descriptor. At that time the skb is already dma unmapped but no new skb
was dma mapped for this entry again. However, rt2800pci_fill_rxdone also
moves the hw rx queue index, marking this entry to be available for
reuse. Since no new skb was dma mapped and also the previous skb was
unmapped this might lead to strange hw behavior.

To fix this issue move the hw rx queue index increment to
rt2800pci_clear_entry where a new skb was already dma mapped and can be
safely used by the hw.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-10-05 13:35:27 -04:00
..
ath ath9k: Report total tx/rx bytes and packets in debugfs. 2010-10-05 13:35:25 -04:00
b43 b43: N-PHY: add missing phyrxchain setting and fix warning in RX core function 2010-08-25 14:33:20 -04:00
b43legacy b43legacy: update hw/fw version info in wiphy struct 2010-08-16 14:39:45 -04:00
hostap Hostap: Fix "'ret' set but not used" warning message from GCC in hostap 2010-08-24 16:28:20 -04:00
ipw2x00 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-08-24 16:35:40 -04:00
iwlwifi iwlwifi: change WARN_ON to IWL_WARN in iwl_mac_add_interface 2010-10-05 13:35:22 -04:00
iwmc3200wifi iwm3200wifi: remove comparison to WIFI_IF_NTFY_MAX in iwm_ntf_wifi_if_wrapper 2010-08-16 14:39:48 -04:00
libertas Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-09-24 15:52:34 -04:00
libertas_tf libertas_tf: if_usb.c: Some more formatting fixes 2010-08-16 15:26:37 -04:00
orinoco orinoco: Fix walking past the end of the buffer 2010-08-25 14:33:17 -04:00
p54 p54usb: add five more USBIDs 2010-10-05 13:35:25 -04:00
prism54 drivers/net/wireless/prism54: Adjust confusing if indentation 2010-08-16 15:26:41 -04:00
rt2x00 rt2x00: Fix race between dma mapping and clearing rx entries in rt2800pci 2010-10-05 13:35:27 -04:00
rtl818x Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-08-24 16:35:40 -04:00
wl12xx wl12xx: fix separate-object-folder builds 2010-09-28 10:52:26 -04:00
zd1211rw zd1211rw: update fw version info in wiphy struct 2010-08-16 14:39:45 -04:00
Kconfig
Makefile wl12xx: fix separate-object-folder builds 2010-09-28 10:52:26 -04:00
adm8211.c drivers/net/wireless: Restore upper case words in wiphy_<level> messages 2010-08-18 16:37:44 -04:00
adm8211.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
airo.c airo: remove "basic_rate" module option 2010-09-24 15:54:29 -04:00
airo.h
airo_cs.c
at76c50x-usb.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-08-24 16:35:40 -04:00
at76c50x-usb.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-07-01 17:34:14 -07:00
atmel.c
atmel.h
atmel_cs.c
atmel_pci.c
mac80211_hwsim.c mac80211: add p2p device type support 2010-09-16 15:46:07 -04:00
mwl8k.c drivers/net/wireless: Restore upper case words in wiphy_<level> messages 2010-08-18 16:37:44 -04:00
ray_cs.c ray_cs: make data const 2010-09-07 13:54:32 -04:00
ray_cs.h
rayctl.h
rndis_wlan.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-07-01 17:34:14 -07:00
wl3501.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
wl3501_cs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-05-20 21:04:44 -07:00
zd1201.c
zd1201.h