1
linux/drivers/net/wireless/rt2x00
Ivo van Doorn 0262ab0df6 rt2x00: Fix race conditions in flag handling
Some of the flags should be accessed atomically to
prevent race conditions. The flags that are most important
are those that can change often and indicate the actual
state of the device, queue or queue entry.

The big flag rename was done to move all state flags to
the same naming type as the other rt2x00dev flags and
made sure all places where the flags were used were changed. ;)

Thanks to Stephen for most of the queue flags updates,
which fixes some of the most obvious consequences of the
race conditions. Among those the notorious:

rt2x00queue_write_tx_frame: Error - Arrived at non-free entry in the non-full queue 0.
rt2x00queue_write_tx_frame: Error - Arrived at non-free entry in the non-full queue 0.
rt2x00queue_write_tx_frame: Error - Arrived at non-free entry in the non-full queue 0.

Signed-off-by: Stephen Blackheath <tramp.enshrine.stephen@blacksapphire.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-08-29 16:24:11 -04:00
..
Kconfig rt2x00: Implement HW encryption (rt73usb) 2008-08-22 16:29:58 -04:00
Makefile rt2x00: Implement HW encryption 2008-08-22 16:29:58 -04:00
rt2x00.h rt2x00: Fix race conditions in flag handling 2008-08-29 16:24:11 -04:00
rt2x00config.c rt2x00: Fix race conditions in flag handling 2008-08-29 16:24:11 -04:00
rt2x00crypto.c rt2x00: Implement HW encryption 2008-08-22 16:29:58 -04:00
rt2x00debug.c rt2x00: Implement HW encryption 2008-08-22 16:29:58 -04:00
rt2x00debug.h
rt2x00dev.c rt2x00: Fix race conditions in flag handling 2008-08-29 16:24:11 -04:00
rt2x00dump.h rt2x00: Queue handling overhaul 2008-02-29 15:19:27 -05:00
rt2x00firmware.c rt2x00: Reset LED assoc status after firmware update 2008-07-14 14:53:00 -04:00
rt2x00leds.c rt2x00: Fix quality/activity led handling 2008-05-01 17:38:39 -04:00
rt2x00leds.h rt2x00: Remove MAC80211_LEDS dependency 2008-04-01 17:14:09 -04:00
rt2x00lib.h rt2x00: Implement HW encryption 2008-08-22 16:29:58 -04:00
rt2x00mac.c rt2x00: Fix race conditions in flag handling 2008-08-29 16:24:11 -04:00
rt2x00pci.c rt2x00: Cleanup symbol exports 2008-06-26 16:49:16 -04:00
rt2x00pci.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-07-18 02:39:39 -07:00
rt2x00queue.c rt2x00: Fix race conditions in flag handling 2008-08-29 16:24:11 -04:00
rt2x00queue.h rt2x00: Implement HW encryption 2008-08-22 16:29:58 -04:00
rt2x00reg.h rt2x00: Implement HW encryption 2008-08-22 16:29:58 -04:00
rt2x00rfkill.c rt2x00: Fix race conditions in flag handling 2008-08-29 16:24:11 -04:00
rt2x00usb.c rt2x00: Fix race conditions in flag handling 2008-08-29 16:24:11 -04:00
rt2x00usb.h rt2x00: Fix compile warning 2008-08-02 01:31:09 -07:00
rt61pci.c rt2x00: Fix race conditions in flag handling 2008-08-29 16:24:11 -04:00
rt61pci.h rt2x00: Gather channel information in structure 2008-08-22 16:29:58 -04:00
rt73usb.c rt2x00: Add module parameter to disable HW crypto 2008-08-22 16:29:59 -04:00
rt73usb.h rt2x00: Gather channel information in structure 2008-08-22 16:29:58 -04:00
rt2400pci.c rt2x00: Fix race conditions in flag handling 2008-08-29 16:24:11 -04:00
rt2400pci.h rt2x00: Gather channel information in structure 2008-08-22 16:29:58 -04:00
rt2500pci.c rt2x00: Fix race conditions in flag handling 2008-08-29 16:24:11 -04:00
rt2500pci.h rt2x00: Gather channel information in structure 2008-08-22 16:29:58 -04:00
rt2500usb.c rt2x00: Fix race conditions in flag handling 2008-08-29 16:24:11 -04:00
rt2500usb.h rt2x00: Gather channel information in structure 2008-08-22 16:29:58 -04:00