kernel-fxtec-pro1x/drivers/net/atl1c
Tim Gardner cb77183871 atl1c: Fix work event interrupt/task races
The mechanism used to initiate work events from the interrupt
handler has a classic read/modify/write race between the interrupt
handler that sets the condition, and the worker task that reads and
clears the condition. Close these races by using atomic
bit fields.

Cc: stable@kernel.org
Cc: Jie Yang <jie.yang@atheros.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-04-21 21:04:32 -07:00
..
atl1c.h atl1c: Fix work event interrupt/task races 2011-04-21 21:04:32 -07:00
atl1c_ethtool.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
atl1c_hw.c atl1c: remove private #define. 2011-01-20 16:50:05 -08:00
atl1c_hw.h atl1c: remove private #define. 2011-01-20 16:50:05 -08:00
atl1c_main.c atl1c: Fix work event interrupt/task races 2011-04-21 21:04:32 -07:00
Makefile